|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.izforge.izpack.util.PasswordEqualityValidator
public class PasswordEqualityValidator
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.
| Constructor Summary | |
|---|---|
PasswordEqualityValidator()
|
|
| Method Summary | |
|---|---|
private boolean |
fieldsMatch(ProcessingClient client)
|
boolean |
validate(ProcessingClient client)
PasswordEqualityValidator Validates the contend of multiple password fields. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PasswordEqualityValidator()
| Method Detail |
|---|
public boolean validate(ProcessingClient client)
validate in interface Validatorclient - the client object using the services of this validator.
true if the validation passes, otherwise false.private boolean fieldsMatch(ProcessingClient client)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||