public class LegacyAlgorithmAwarePasswordEncryptor extends BasePasswordEncryptor
| Modifier and Type | Method and Description |
|---|---|
static com.liferay.portal.kernel.security.pwd.PasswordEncryptor |
create(com.liferay.portal.kernel.security.pwd.PasswordEncryptor parentPasswordEncryptor) |
String |
encrypt(String algorithm,
String plainTextPassword,
String encryptedPassword) |
protected String |
getAlgorithmName(String algorithm) |
String[] |
getSupportedAlgorithmTypes() |
encrypt, getDefaultPasswordAlgorithmTypepublic static com.liferay.portal.kernel.security.pwd.PasswordEncryptor create(com.liferay.portal.kernel.security.pwd.PasswordEncryptor parentPasswordEncryptor)
public String encrypt(String algorithm,
String plainTextPassword,
String encryptedPassword)
throws com.liferay.portal.kernel.exception.PwdEncryptorException
com.liferay.portal.kernel.exception.PwdEncryptorExceptionpublic String[] getSupportedAlgorithmTypes()
protected String getAlgorithmName(String algorithm)