Liferay 6.2-ce-ga5

com.liferay.portal.security.pwd
Class CryptPasswordEncryptor

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

public class CryptPasswordEncryptor
extends BasePasswordEncryptor
implements PasswordEncryptor


Constructor Summary
CryptPasswordEncryptor()
           
 
Method Summary
protected  String doEncrypt(String algorithm, String plainTextPassword, String encryptedPassword)
           
protected  byte[] getSalt(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

CryptPasswordEncryptor

public CryptPasswordEncryptor()
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

getSalt

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

Liferay 6.2-ce-ga5