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 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) |
encrypt, getDefaultPasswordAlgorithmType
public void afterPropertiesSet()
public String encrypt(String algorithm, String plainTextPassword, String encryptedPassword) throws com.liferay.portal.kernel.exception.PwdEncryptorException
encrypt
in interface com.liferay.portal.kernel.security.pwd.PasswordEncryptor
com.liferay.portal.kernel.exception.PwdEncryptorException
public String[] getSupportedAlgorithmTypes()
getSupportedAlgorithmTypes
in interface com.liferay.portal.kernel.security.pwd.PasswordEncryptor
public void setDefaultPasswordEncryptor(com.liferay.portal.kernel.security.pwd.PasswordEncryptor defaultPasswordEncryptor)
public void setPasswordEncryptors(List<com.liferay.portal.kernel.security.pwd.PasswordEncryptor> passwordEncryptors)