Liferay 6.2-ce-ga5

com.liferay.portal.security.pwd
Class CompositePasswordEncryptor

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

public class CompositePasswordEncryptor
extends BasePasswordEncryptor
implements PasswordEncryptor


Constructor Summary
CompositePasswordEncryptor()
           
 
Method Summary
protected  String doEncrypt(String algorithm, String plainTextPassword, String encryptedPassword)
           
 String[] getSupportedAlgorithmTypes()
           
 void setDefaultPasswordEncryptor(PasswordEncryptor defaultPasswordEncryptor)
           
 void setPasswordEncryptors(List<PasswordEncryptor> passwordEncryptors)
           
 
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

CompositePasswordEncryptor

public CompositePasswordEncryptor()
Method Detail

getSupportedAlgorithmTypes

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

setDefaultPasswordEncryptor

public void setDefaultPasswordEncryptor(PasswordEncryptor defaultPasswordEncryptor)

setPasswordEncryptors

public void setPasswordEncryptors(List<PasswordEncryptor> passwordEncryptors)

doEncrypt

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

Liferay 6.2-ce-ga5