com.atlassian.crowd.password.encoder
public class LdapShaPasswordEncoder extends org.springframework.security.authentication.encoding.LdapShaPasswordEncoder implements LdapPasswordEncoder, InternalPasswordEncoder
| Constructor and Description |
|---|
LdapShaPasswordEncoder() |
| Modifier and Type | Method and Description |
|---|---|
String |
getKey()
The key to define this password encoder
|
boolean |
isPasswordValid(String encPass,
String rawPass,
Object salt)
Validates a specified "raw" password against an encoded password.
|
encodePassword, setForceLowerCasePrefixclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitencodePasswordpublic boolean isPasswordValid(String encPass, String rawPass, Object salt)
PasswordEncoderValidates a specified "raw" password against an encoded password.
The encoded password should have previously been generated by PasswordEncoder.encodePassword(String,
Object). This method will encode the rawPass (using the optional salt), and then
compared it with the presented encPass.
For a discussion of salts, please refer to PasswordEncoder.encodePassword(String, Object).
isPasswordValid in interface org.springframework.security.authentication.encoding.PasswordEncoderisPasswordValid in class org.springframework.security.authentication.encoding.LdapShaPasswordEncoderencPass - a pre-encoded passwordrawPass - a raw password to encode and compare against the pre-encoded passwordsalt - optionally used by the implementation to "salt" the raw password before encoding. A
null value is legal.public String getKey()
PasswordEncoderCopyright © 2015 Atlassian. All Rights Reserved.