com.liferay.portal.security.pwd
Interface PasswordEncryptor
- All Known Implementing Classes:
- BasePasswordEncryptor, BCryptPasswordEncryptor, CompositePasswordEncryptor, CryptPasswordEncryptor, DefaultPasswordEncryptor, LegacyAlgorithmAwarePasswordEncryptor, NullPasswordEncryptor, PBKDF2PasswordEncryptor, SSHAPasswordEncryptor
public interface PasswordEncryptor
encrypt
String encrypt(String plainTextPassword,
String encryptedPassword)
throws PwdEncryptorException
- Throws:
PwdEncryptorException
encrypt
String encrypt(String algorithm,
String plainTextPassword,
String encryptedPassword)
throws PwdEncryptorException
- Throws:
PwdEncryptorException
getDefaultPasswordAlgorithmType
String getDefaultPasswordAlgorithmType()
getSupportedAlgorithmTypes
String[] getSupportedAlgorithmTypes()