com.izforge.izpack.panels.userinput.validator
Class PasswordEqualityValidator

java.lang.Object
  extended by com.izforge.izpack.panels.userinput.validator.PasswordEqualityValidator
All Implemented Interfaces:
Validator

public class PasswordEqualityValidator
extends Object
implements Validator

This class represents a simple validator for passwords to test equality. It is based on the example implementation of a password validator that cooperates with the password field in the UserInputPanel. Additional validation may be done by utilizing the params added to the password field.

Author:
Elmar Grom, Jeff Gordon

Constructor Summary
PasswordEqualityValidator()
           
 
Method Summary
 boolean validate(ProcessingClient client)
          Validates values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasswordEqualityValidator

public PasswordEqualityValidator()
Method Detail

validate

public boolean validate(ProcessingClient client)
Validates values.

Specified by:
validate in interface Validator
Parameters:
client - the processing client
Returns:
true if the validation passes, otherwise false


Copyright © 2018. All rights reserved.