com.ibm.websphere.samples.pbw.war
Class ValidatePasswords

java.lang.Object
  extended by com.ibm.websphere.samples.pbw.war.ValidatePasswords
All Implemented Interfaces:
EventListener, javax.faces.validator.Validator

public class ValidatePasswords
extends Object
implements javax.faces.validator.Validator

A JSF validator class, not implemented in Bean Validation since validation is only required during GUI interaction.


Field Summary
 
Fields inherited from interface javax.faces.validator.Validator
NOT_IN_RANGE_MESSAGE_ID
 
Constructor Summary
ValidatePasswords()
           
 
Method Summary
 void validate(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidatePasswords

public ValidatePasswords()
Method Detail

validate

public void validate(javax.faces.context.FacesContext context,
                     javax.faces.component.UIComponent component,
                     Object value)
              throws javax.faces.validator.ValidatorException
Specified by:
validate in interface javax.faces.validator.Validator
Throws:
javax.faces.validator.ValidatorException


Copyright © 2011. All Rights Reserved.