Package org.apereo.cas.authentication
Interface AuthenticationTransactionManager
-
public interface AuthenticationTransactionManager
TheAuthenticationTransactionManager
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.- Since:
- 4.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuthenticationManager
getAuthenticationManager()
Gets authentication manager.AuthenticationTransactionManager
handle(AuthenticationTransaction authenticationTransaction, AuthenticationResultBuilder authenticationResultBuilder)
Handle authentication transaction manager.
-
-
-
Method Detail
-
handle
AuthenticationTransactionManager handle(AuthenticationTransaction authenticationTransaction, AuthenticationResultBuilder authenticationResultBuilder) throws AuthenticationException
Handle authentication transaction manager.- Parameters:
authenticationTransaction
- the authn attemptauthenticationResultBuilder
- the authentication context- Returns:
- the transaction manager
- Throws:
AuthenticationException
- the authentication exception
-
getAuthenticationManager
AuthenticationManager getAuthenticationManager()
Gets authentication manager.- Returns:
- the authentication manager
-
-