public interface AuthenticationTransactionManager
AuthenticationTransactionManager deals exclusively with authentication concepts
e.g. Credentials, Principals, producing valid Authentication objects. It is invoked repeatedly with distinct credential type(s)
for interactive multi-staged authn flows that would authenticate at each step as opposed
to gather all credentials and send them for authentication in one batch.| Modifier and Type | Method and Description |
|---|---|
AuthenticationManager |
getAuthenticationManager()
Gets authentication manager.
|
AuthenticationTransactionManager |
handle(AuthenticationTransaction authenticationTransaction,
AuthenticationResultBuilder authenticationResultBuilder)
Handle authentication transaction manager.
|
AuthenticationTransactionManager handle(AuthenticationTransaction authenticationTransaction, AuthenticationResultBuilder authenticationResultBuilder) throws AuthenticationException
authenticationTransaction - the authn attemptauthenticationResultBuilder - the authentication contextAuthenticationException - the authentication exceptionAuthenticationManager getAuthenticationManager()