public class CompositePasswordEncryptor extends BasePasswordEncryptor implements com.liferay.portal.kernel.security.pwd.PasswordEncryptor
| Constructor and Description |
|---|
CompositePasswordEncryptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
String |
encrypt(String plainTextPassword,
String encryptedPassword) |
String |
encrypt(String algorithm,
String plainTextPassword,
String encryptedPassword) |
String[] |
getSupportedAlgorithmTypes() |
void |
setDefaultPasswordEncryptor(com.liferay.portal.kernel.security.pwd.PasswordEncryptor defaultPasswordEncryptor) |
void |
setPasswordEncryptors(List<com.liferay.portal.kernel.security.pwd.PasswordEncryptor> passwordEncryptors) |
getDefaultPasswordAlgorithmTypepublic void afterPropertiesSet()
public String encrypt(String plainTextPassword,
String encryptedPassword)
throws com.liferay.portal.kernel.exception.PwdEncryptorException
encrypt in interface com.liferay.portal.kernel.security.pwd.PasswordEncryptorencrypt in class BasePasswordEncryptorcom.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[] getSupportedAlgorithmTypes()
getSupportedAlgorithmTypes in interface com.liferay.portal.kernel.security.pwd.PasswordEncryptorpublic void setDefaultPasswordEncryptor(com.liferay.portal.kernel.security.pwd.PasswordEncryptor defaultPasswordEncryptor)
public void setPasswordEncryptors(List<com.liferay.portal.kernel.security.pwd.PasswordEncryptor> passwordEncryptors)