public interface Authenticator
| Modifier and Type | Method and Description |
|---|---|
User |
authenticate(AuthenticationInfo authenticationInfo,
Database database)
Perform user authentication.
|
void |
init(Database database)
Initialize the authenticator.
|
User authenticate(AuthenticationInfo authenticationInfo, Database database) throws AuthenticationException
authenticationInfo - authentication info.database - target database instance.AuthenticationException - on failurevoid init(Database database) throws AuthConfigException
database - target databaseAuthConfigException