07-10-2008 02:46 AM
07-10-2008 03:47 AM
<password-min-length>3</password-min-length>
public void validatePassword(FacesContext context, UIComponent component, Object value)
throws ValidatorException
{
int minPasswordLength = Application.getClientConfig(context).getMinPasswordLength();
String pass = (String) value;
if (pass.length() < minPasswordLength || pass.length() > 32)
{
String err = MessageFormat.format(Application.getMessage(context, MSG_PASSWORD_LENGTH),
new Object[]{minPasswordLength, 32});
throw new ValidatorException(new FacesMessage(err));
}
}
07-10-2008 04:31 AM
07-10-2008 05:14 AM
07-10-2008 05:17 AM
09-11-2008 10:29 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.