Interface LoginDialogVerifier
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface LoginDialogVerifier
This interface describes a verifier for the LoginDialogWidget
-
Method Summary
Modifier and Type Method Description void
authenticate(java.lang.String login, java.lang.String password)
Check if the couple login/password is correct
-
Method Details
-
authenticate
void authenticate(java.lang.String login, java.lang.String password) throws java.lang.ExceptionCheck if the couple login/password is correct- Parameters:
login
- login entered by the userpassword
- password entered by the user- Throws:
java.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")
-