Class LegacyPasswordEncoder
- java.lang.Object
-
- org.onebusaway.users.impl.authentication.LegacyBaseDigestPasswordEncoder
-
- org.onebusaway.users.impl.authentication.LegacyMessageDigestPasswordEncoder
-
- org.onebusaway.users.impl.authentication.LegacyPasswordEncoder
-
- All Implemented Interfaces:
org.springframework.security.crypto.password.PasswordEncoder
public class LegacyPasswordEncoder extends LegacyMessageDigestPasswordEncoder
Support legacy style salting of passwords. This is not considered secure, it is only present for backwards compatibility.
-
-
Constructor Summary
Constructors Constructor Description LegacyPasswordEncoder(String algorithm)
LegacyPasswordEncoder(String algorithm, boolean encodeHashAsBase64)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
encodePassword(String user, String salt)
-
Methods inherited from class org.onebusaway.users.impl.authentication.LegacyMessageDigestPasswordEncoder
encode, encodePassword, getAlgorithm, getMessageDigest, isPasswordValid, matches, mergePasswordAndSalt, setIterations
-
Methods inherited from class org.onebusaway.users.impl.authentication.LegacyBaseDigestPasswordEncoder
getEncodeHashAsBase64, setEncodeHashAsBase64
-
-
-
-
Constructor Detail
-
LegacyPasswordEncoder
public LegacyPasswordEncoder(String algorithm)
-
LegacyPasswordEncoder
public LegacyPasswordEncoder(String algorithm, boolean encodeHashAsBase64) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
-