com.liferay.portal.security.pwd
Class BasePasswordEncryptor
java.lang.Object
com.liferay.portal.security.pwd.BasePasswordEncryptor
- All Implemented Interfaces:
- PasswordEncryptor
- Direct Known Subclasses:
- BCryptPasswordEncryptor, CompositePasswordEncryptor, CryptPasswordEncryptor, DefaultPasswordEncryptor, LegacyAlgorithmAwarePasswordEncryptor, NullPasswordEncryptor, PBKDF2PasswordEncryptor, SSHAPasswordEncryptor
public abstract class BasePasswordEncryptor
- extends Object
- implements PasswordEncryptor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasePasswordEncryptor
public BasePasswordEncryptor()
encrypt
public String encrypt(String algorithm,
String plainTextPassword,
String encryptedPassword)
throws PwdEncryptorException
- Specified by:
encrypt
in interface PasswordEncryptor
- Throws:
PwdEncryptorException
doEncrypt
protected abstract String doEncrypt(String algorithm,
String plainTextPassword,
String encryptedPassword)
throws PwdEncryptorException
- Throws:
PwdEncryptorException