public class RegExpToolkit
extends com.liferay.portal.kernel.security.pwd.BasicToolkit
Constructor and Description |
---|
RegExpToolkit() |
Modifier and Type | Method and Description |
---|---|
String |
generate(com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy) |
void |
validate(long userId,
String password1,
String password2,
com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy) |
public String generate(com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy)
generate
in interface com.liferay.portal.kernel.security.pwd.Toolkit
generate
in class com.liferay.portal.kernel.security.pwd.BasicToolkit
public void validate(long userId, String password1, String password2, com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy) throws com.liferay.portal.kernel.exception.PortalException
validate
in interface com.liferay.portal.kernel.security.pwd.Toolkit
validate
in class com.liferay.portal.kernel.security.pwd.BasicToolkit
com.liferay.portal.kernel.exception.PortalException