Liferay 6.2-ce-ga5

com.liferay.portal.security.pwd
Class LegacyAlgorithmAwarePasswordEncryptor

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

public class LegacyAlgorithmAwarePasswordEncryptor
extends BasePasswordEncryptor


Constructor Summary
LegacyAlgorithmAwarePasswordEncryptor()
           
 
Method Summary
protected  String doEncrypt(String algorithm, String plainTextPassword, String encryptedPassword)
           
protected  String getAlgorithmName(String algorithm)
           
 String[] getSupportedAlgorithmTypes()
           
 void setParentPasswordEncryptor(PasswordEncryptor defaultPasswordEncryptor)
           
 
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
 

Constructor Detail

LegacyAlgorithmAwarePasswordEncryptor

public LegacyAlgorithmAwarePasswordEncryptor()
Method Detail

getSupportedAlgorithmTypes

public String[] getSupportedAlgorithmTypes()

setParentPasswordEncryptor

public void setParentPasswordEncryptor(PasswordEncryptor defaultPasswordEncryptor)

doEncrypt

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

getAlgorithmName

protected String getAlgorithmName(String algorithm)

Liferay 6.2-ce-ga5