Liferay 6.2-ce-ga5

com.liferay.portal.security.pwd
Class BasicToolkit

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

public abstract class BasicToolkit
extends Object
implements Toolkit


Constructor Summary
BasicToolkit()
           
 
Method Summary
abstract  String generate(PasswordPolicy passwordPolicy)
           
abstract  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

BasicToolkit

public BasicToolkit()
Method Detail

generate

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

validate

public abstract 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.2-ce-ga5