Interface UpgradeablePasswordEncoder
- All Superinterfaces:
PasswordEncoder
- All Known Implementing Classes:
AtlassianSecurityPasswordEncoder
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
Modifier and TypeMethodDescriptionbooleanisUpgradeRequired(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.Methods inherited from interface com.atlassian.crowd.password.encoder.PasswordEncoder
encodePassword, getKey, isPasswordValid
-
Method Details
-
isUpgradeRequired
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.
-