@FunctionalInterface public interface PrePostAuthenticationHandler extends AuthenticationHandler
PrePostAuthenticationHandler
.SUCCESSFUL_AUTHENTICATION_HANDLERS
Modifier and Type | Method and Description |
---|---|
default AuthenticationHandlerExecutionResult |
postAuthenticate(Credential credential,
AuthenticationHandlerExecutionResult result)
Template method to perform arbitrary post-authentication actions.
|
default boolean |
preAuthenticate(Credential credential)
Template method to perform arbitrary pre-authentication actions.
|
authenticate, getName, getOrder, supports
default boolean preAuthenticate(Credential credential)
credential
- the Credential supplieddefault AuthenticationHandlerExecutionResult postAuthenticate(Credential credential, AuthenticationHandlerExecutionResult result)
credential
- the supplied credentialresult
- the result of the authentication attempt.