public interface Authenticator
Credentials
Modifier and Type | Method and Description |
---|---|
boolean |
authenticate(Credentials credentials)
Authenticate the credentials with the implementation.
|
void |
close()
Close the implementation of the Authenticator
|
void |
open(java.util.Properties props)
Open the implementation of the Authenticator with properties.
|
void open(java.util.Properties props) throws InvalidAuthenticatorException
props
- The properties used for opening.InvalidAuthenticatorException
boolean authenticate(Credentials credentials) throws InvalidCredentialsException, AuthenticationException
credentials
- given credentials to authenticate.InvalidCredentialsException
AuthenticationException
Credentials
void close()