public abstract class BasePasswordEncryptor extends Object implements com.liferay.portal.kernel.security.pwd.PasswordEncryptor
| Constructor and Description |
|---|
BasePasswordEncryptor() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
doEncrypt(String algorithm,
String plainTextPassword,
String encryptedPassword) |
String |
encrypt(String plainTextPassword,
String encryptedPassword) |
String |
encrypt(String algorithm,
String plainTextPassword,
String encryptedPassword) |
String |
getDefaultPasswordAlgorithmType() |
public String encrypt(String plainTextPassword, String encryptedPassword) throws com.liferay.portal.kernel.exception.PwdEncryptorException
encrypt in interface com.liferay.portal.kernel.security.pwd.PasswordEncryptorcom.liferay.portal.kernel.exception.PwdEncryptorExceptionpublic String encrypt(String algorithm, String plainTextPassword, String encryptedPassword) throws com.liferay.portal.kernel.exception.PwdEncryptorException
encrypt in interface com.liferay.portal.kernel.security.pwd.PasswordEncryptorcom.liferay.portal.kernel.exception.PwdEncryptorExceptionpublic String getDefaultPasswordAlgorithmType()
getDefaultPasswordAlgorithmType in interface com.liferay.portal.kernel.security.pwd.PasswordEncryptor