As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<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)); } }