Package org.apereo.cas.authentication
Interface AuthenticationHandlerExecutionResult
- All Superinterfaces:
Serializable
This is
AuthenticationHandlerExecutionResult that describes the result of an authentication attempt.- Since:
- 4.1.0
-
Method Summary
Modifier and TypeMethodDescriptionaddWarning(MessageDescriptor message) Add warning to authentication handler execution result.Clear warnings from authentication handler execution result.Gets credential meta data.Gets handler name.Gets principal.Gets warnings.
-
Method Details
-
getHandlerName
String getHandlerName()Gets handler name.- Returns:
- the handler name
-
getCredential
Credential getCredential()Gets credential meta data.- Returns:
- the credential meta data
-
getPrincipal
Principal getPrincipal()Gets principal.- Returns:
- the principal
-
getWarnings
List<MessageDescriptor> getWarnings()Gets warnings.- Returns:
- the warnings
-
addWarning
Add warning to authentication handler execution result.- Parameters:
message- the message- Returns:
- the authentication handler execution result
-
clearWarnings
AuthenticationHandlerExecutionResult clearWarnings()Clear warnings from authentication handler execution result.- Returns:
- the authentication handler execution result
-