public class LdapSshaPasswordEncoder extends org.springframework.security.authentication.encoding.LdapShaPasswordEncoder implements LdapPasswordEncoder, InternalPasswordEncoder
org.springframework.security.providers.ldap.authenticator.LdapShaPasswordEncoder
to specifically add salt to the SSHA
if it has not been providedConstructor and Description |
---|
LdapSshaPasswordEncoder() |
Modifier and Type | Method and Description |
---|---|
String |
encodePassword(String rawPass,
Object salt)
This method delegates to
org.springframework.security.providers.ldap.authenticator.LdapShaPasswordEncoder#encodePassword , but if the passed in salt is null
Crowd will use the propertyManager to find the salt used for Token's and pass that along to the underlying implementation |
String |
getKey()
The key to define this password encoder
|
isPasswordValid, setForceLowerCasePrefix
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isPasswordValid
public String encodePassword(String rawPass, Object salt)
org.springframework.security.providers.ldap.authenticator.LdapShaPasswordEncoder#encodePassword
, but if the passed in salt is null
Crowd will use the propertyManager to find the salt used for Token's and pass that along to the underlying implementationencodePassword
in interface org.springframework.security.authentication.encoding.PasswordEncoder
encodePassword
in class org.springframework.security.authentication.encoding.LdapShaPasswordEncoder
rawPass
- the password to encodesalt
- the salt needs to be of type byte[], if null a random salt value will be usedpublic String getKey()
PasswordEncoder
Copyright © 2013 Atlassian. All Rights Reserved.