Liferay 6.2-ce-ga5

com.liferay.portal.security.pwd
Class SSHAPasswordEncryptor

java.lang.Object
  extended by com.liferay.portal.security.pwd.BasePasswordEncryptor
      extended by com.liferay.portal.security.pwd.SSHAPasswordEncryptor
All Implemented Interfaces:
PasswordEncryptor

public class SSHAPasswordEncryptor
extends BasePasswordEncryptor
implements PasswordEncryptor


Constructor Summary
SSHAPasswordEncryptor()
           
 
Method Summary
protected  String doEncrypt(String algorithm, String plainTextPassword, String encryptedPassword)
           
protected  byte[] getSaltBytes(String encryptedPassword)
           
 String[] getSupportedAlgorithmTypes()
           
 
Methods inherited from class com.liferay.portal.security.pwd.BasePasswordEncryptor
encrypt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.security.pwd.PasswordEncryptor
encrypt
 

Constructor Detail

SSHAPasswordEncryptor

public SSHAPasswordEncryptor()
Method Detail

getSupportedAlgorithmTypes

public String[] getSupportedAlgorithmTypes()
Specified by:
getSupportedAlgorithmTypes in interface PasswordEncryptor

doEncrypt

protected String doEncrypt(String algorithm,
                           String plainTextPassword,
                           String encryptedPassword)
                    throws PwdEncryptorException
Specified by:
doEncrypt in class BasePasswordEncryptor
Throws:
PwdEncryptorException

getSaltBytes

protected byte[] getSaltBytes(String encryptedPassword)
                       throws PwdEncryptorException
Throws:
PwdEncryptorException

Liferay 6.2-ce-ga5