kiwi.ui.dialog
Interface LoginValidator


public abstract interface LoginValidator

General purpose login validation interface.

Version:
1.0 (05/98)
Author:
Mark Lindner, PING Software Group
See Also:
LoginDialog

Method Summary
 boolean validate(String name, String password)
          Validate a login.
 void validationCancelled()
          Handle cancelled validations.
 

Method Detail

validate

public boolean validate(String name,
                        String password)
Validate a login. Validates the user named name against the specified password.
Returns:
true if the validation succeeded and false otherwise.

validationCancelled

public void validationCancelled()
Handle cancelled validations. This method gets called when the user clicks the Cancel button in a LoginDialog, for example.