com.liferay.portal.security.pwd
Class LegacyAlgorithmAwarePasswordEncryptor
java.lang.Object
com.liferay.portal.security.pwd.BasePasswordEncryptor
com.liferay.portal.security.pwd.LegacyAlgorithmAwarePasswordEncryptor
- All Implemented Interfaces:
- PasswordEncryptor
public class LegacyAlgorithmAwarePasswordEncryptor
- extends BasePasswordEncryptor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LegacyAlgorithmAwarePasswordEncryptor
public LegacyAlgorithmAwarePasswordEncryptor()
getSupportedAlgorithmTypes
public String[] getSupportedAlgorithmTypes()
setParentPasswordEncryptor
public void setParentPasswordEncryptor(PasswordEncryptor defaultPasswordEncryptor)
doEncrypt
protected String doEncrypt(String algorithm,
String plainTextPassword,
String encryptedPassword)
throws PwdEncryptorException
- Specified by:
doEncrypt
in class BasePasswordEncryptor
- Throws:
PwdEncryptorException
getAlgorithmName
protected String getAlgorithmName(String algorithm)