Liferay 7.0-ce-b7 portal-impl

com.liferay.portal.security.pwd
Class RegExpToolkit

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

public class RegExpToolkit
extends com.liferay.portal.kernel.security.pwd.BasicToolkit


Constructor Summary
RegExpToolkit()
           
 
Method Summary
 String generate(com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy)
           
 void validate(long userId, String password1, String password2, com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy)
           
 
Methods inherited from class com.liferay.portal.kernel.security.pwd.BasicToolkit
validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegExpToolkit

public RegExpToolkit()
Method Detail

generate

public String generate(com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy)
Specified by:
generate in interface com.liferay.portal.kernel.security.pwd.Toolkit
Specified by:
generate in class com.liferay.portal.kernel.security.pwd.BasicToolkit

validate

public void validate(long userId,
                     String password1,
                     String password2,
                     com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy)
              throws com.liferay.portal.kernel.exception.PortalException
Specified by:
validate in interface com.liferay.portal.kernel.security.pwd.Toolkit
Specified by:
validate in class com.liferay.portal.kernel.security.pwd.BasicToolkit
Throws:
com.liferay.portal.kernel.exception.PortalException

Liferay 7.0-ce-b7 portal-impl