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