Liferay 6.1.2-ce-ga3

com.liferay.portal.security.pwd
Class ToolkitWrapper

java.lang.Object
  extended by com.liferay.portal.security.pwd.ToolkitWrapper
All Implemented Interfaces:
Toolkit

public class ToolkitWrapper
extends Object
implements Toolkit


Constructor Summary
ToolkitWrapper(Toolkit toolkit)
           
 
Method Summary
 String generate(PasswordPolicy passwordPolicy)
           
 void setToolkit(Toolkit toolkit)
           
 void validate(long userId, String password1, String password2, PasswordPolicy passwordPolicy)
           
 void validate(String password1, String password2, PasswordPolicy passwordPolicy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToolkitWrapper

public ToolkitWrapper(Toolkit toolkit)
Method Detail

generate

public String generate(PasswordPolicy passwordPolicy)
Specified by:
generate in interface Toolkit

setToolkit

public void setToolkit(Toolkit toolkit)

validate

public void validate(long userId,
                     String password1,
                     String password2,
                     PasswordPolicy passwordPolicy)
              throws PortalException,
                     SystemException
Specified by:
validate in interface Toolkit
Throws:
PortalException
SystemException

validate

public void validate(String password1,
                     String password2,
                     PasswordPolicy passwordPolicy)
              throws PortalException,
                     SystemException
Specified by:
validate in interface Toolkit
Throws:
PortalException
SystemException

Liferay 6.1.2-ce-ga3