org.jboss.seam.examples.booking.account
Class CurrentPasswordValidator

java.lang.Object
  extended by org.jboss.seam.examples.booking.account.CurrentPasswordValidator
All Implemented Interfaces:
EventListener, javax.faces.validator.Validator

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

A JSF Validator, used to check that the password the user submits matches that on record.

Author:
Dan Allen

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

Constructor Detail

CurrentPasswordValidator

public CurrentPasswordValidator()
Method Detail

validate

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


Copyright © 2012 Seam Framework. All Rights Reserved.