public class SSHAPasswordEncryptor extends BasePasswordEncryptor implements com.liferay.portal.kernel.security.pwd.PasswordEncryptor
| Constructor and Description |
|---|
SSHAPasswordEncryptor() |
| Modifier and Type | Method and Description |
|---|---|
String |
encrypt(String algorithm,
String plainTextPassword,
String encryptedPassword) |
protected byte[] |
getSaltBytes(String encryptedPassword) |
String[] |
getSupportedAlgorithmTypes() |
encrypt, getDefaultPasswordAlgorithmTypepublic 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.PasswordEncryptorprotected byte[] getSaltBytes(String encryptedPassword)
throws com.liferay.portal.kernel.exception.PwdEncryptorException
com.liferay.portal.kernel.exception.PwdEncryptorException