public interface LoginDialogVerifier
Modifier and Type | Method and Description |
---|---|
void |
authenticate(java.lang.String login,
java.lang.String password)
Check if the couple login/password is correct
|
void authenticate(java.lang.String login, java.lang.String password) throws java.lang.Exception
login
- login entered by the userpassword
- password entered by the userjava.lang.Exception
- if the couple login/password is wrong. The description
of the exception contains the error message that is gonna be
displayed. For instance, an implementation can throw the
exception *
new Exception("Unable to connect to the LDAP Server")