Liferay 6.0.5

com.liferay.portal.security.pwd
Class BasicToolkit

java.lang.Object
  extended by com.liferay.portal.security.pwd.BasicToolkit
Direct Known Subclasses:
PasswordPolicyToolkit, RegExpToolkit

public abstract class BasicToolkit
extends Object


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)

validate

public void validate(String password1,
                     String password2,
                     PasswordPolicy passwordPolicy)
              throws PortalException,
                     SystemException
Throws:
PortalException
SystemException

validate

public abstract void validate(long userId,
                              String password1,
                              String password2,
                              PasswordPolicy passwordPolicy)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

Liferay 6.0.5