public interface AuthenticationMechanism
Modifier and Type | Method and Description |
---|---|
AuthenticationMechanismResult |
execute(AuthenticationMechanismContext context)
This method is invoked by authentication service when it authenticates
the user using this authentication mechanism.
|
void |
shutdown()
This method is invoked by authentication service when it destroys this
authentication mechanism.
|
void |
startup(java.util.Properties properties)
This method is invoked by authentication service when it initializes this
authentication mechanism.
|
void startup(java.util.Properties properties)
properties
- The properties.AuthenticationMechanismResult execute(AuthenticationMechanismContext context) throws AuthenticationMechanismException
context
- The authentication context.AuthenticationMechanismException
- If this authentication mechanism is not able to authenticate
the user.void shutdown()