com.atlassian.crowd.password.encoder
Interface UpgradeablePasswordEncoder
- All Superinterfaces:
- PasswordEncoder
- All Known Implementing Classes:
- AtlassianSecurityPasswordEncoder
public interface UpgradeablePasswordEncoder
- extends PasswordEncoder
Password encoder which provides a way to ask if the password should be re-encoded as it does not match the encoding
format of the most secure underlying encoder.
Method Summary |
boolean |
isUpgradeRequired(String encPass)
Return true if the password should be re-encoded as it does not match the encoding format of the most secure
underlying encoder. |
isUpgradeRequired
boolean isUpgradeRequired(String encPass)
- Return true if the password should be re-encoded as it does not match the encoding format of the most secure
underlying encoder.
- Parameters:
encPass
- a pre-encoded password
- Returns:
- true if the password should be re-encoded.
Copyright © 2013 Atlassian. All Rights Reserved.