Class LdapSshaPasswordEncoder
java.lang.Object
com.atlassian.crowd.password.encoder.LdapSshaPasswordEncoder
- All Implemented Interfaces:
InternalPasswordEncoder,LdapPasswordEncoder,PasswordEncoder
public class LdapSshaPasswordEncoder
extends Object
implements LdapPasswordEncoder, InternalPasswordEncoder
This class uses the
LdapShaPasswordEncoder to specifically add
salt to the SSHA if it has not been provided.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionencodePassword(String rawPass, Object salt) This method delegates toLdapShaPasswordEncoder.encode(CharSequence)getKey()booleanisPasswordValid(String encPass, String rawPass, Object salt)
-
Constructor Details
-
LdapSshaPasswordEncoder
public LdapSshaPasswordEncoder()
-
-
Method Details
-
encodePassword
This method delegates toLdapShaPasswordEncoder.encode(CharSequence)- Specified by:
encodePasswordin interfacePasswordEncoder- Parameters:
rawPass- the password to encodesalt- not used in this implementation- Returns:
- String the encoded password
-
isPasswordValid
- Specified by:
isPasswordValidin interfacePasswordEncoder
-
getKey
- Specified by:
getKeyin interfacePasswordEncoder
-