Package org.apereo.cas.authentication
Interface AuthenticationManager
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Authenticates one or more credentials.
- Since:
- 3.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringAuthentication date attribute name.static final StringAuthentication method attribute name.static final StringAuthentication session timeout attribute whose value in seconds would control the session timeout for this authentication event.static final StringDefault bean name. -
Method Summary
Modifier and TypeMethodDescriptionauthenticate(AuthenticationTransaction authenticationTransaction) Authenticates the provided credentials.
-
Field Details
-
BEAN_NAME
Default bean name.- See Also:
-
AUTHENTICATION_METHOD_ATTRIBUTE
Authentication method attribute name.- See Also:
-
AUTHENTICATION_SESSION_TIMEOUT_ATTRIBUTE
Authentication session timeout attribute whose value in seconds would control the session timeout for this authentication event.- See Also:
-
AUTHENTICATION_DATE_ATTRIBUTE
Authentication date attribute name.- See Also:
-
-
Method Details
-
authenticate
Authenticates the provided credentials. On success, anAuthenticationobject is returned containing metadata about the result of each authenticated credential. Note that a particular implementation may require some or all credentials to be successfully authenticated. Failure to authenticate is considered an exceptional case, and an AuthenticationException is thrown.- Parameters:
authenticationTransaction- Process a single authentication transaction- Returns:
- Authentication object on success that contains metadata about credentials that were authenticated.
- Throws:
Throwable- the throwable
-