public class NoOpPasswordEncoderImpl extends net.sf.acegisecurity.providers.encoding.BaseDigestPasswordEncoder implements MD4PasswordEncoder
NoOp implementation of PasswordEncoder.
The No Op Password Encoder produces a blank hash. And will not match any value of hash. Used to replace an obsolete encoder like the MD4.Constructor and Description |
---|
NoOpPasswordEncoderImpl() |
Modifier and Type | Method and Description |
---|---|
byte[] |
decodeHash(String encodedHash)
Get the MD4 byte array
|
String |
encodePassword(String rawPass,
Object salt) |
boolean |
isPasswordValid(String encPass,
String rawPass,
Object salt) |
getEncodeHashAsBase64, setEncodeHashAsBase64
public boolean isPasswordValid(String encPass, String rawPass, Object salt)
isPasswordValid
in interface net.sf.acegisecurity.providers.encoding.PasswordEncoder
public String encodePassword(String rawPass, Object salt)
encodePassword
in interface net.sf.acegisecurity.providers.encoding.PasswordEncoder
public byte[] decodeHash(String encodedHash)
MD4PasswordEncoder
decodeHash
in interface MD4PasswordEncoder
encodedHash
- StringCopyright © 2005–2017 Alfresco Software. All rights reserved.