Package org.apereo.cas.authentication
Interface AuthenticationTransactionManager
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The
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.- Since:
- 4.2
-
Method Summary
Modifier and TypeMethodDescriptionhandle(AuthenticationTransaction authenticationTransaction, AuthenticationResultBuilder authenticationResultBuilder) Handle authentication transaction manager.
-
Method Details
-
handle
AuthenticationTransactionManager handle(AuthenticationTransaction authenticationTransaction, AuthenticationResultBuilder authenticationResultBuilder) throws Throwable Handle authentication transaction manager.- Parameters:
authenticationTransaction- the authn attemptauthenticationResultBuilder- the authentication context- Returns:
- the transaction manager
- Throws:
Throwable- the throwable
-