Package org.apereo.cas.authentication
Class DefaultAuthenticationHandlerExecutionResult
- java.lang.Object
-
- org.apereo.cas.authentication.DefaultAuthenticationHandlerExecutionResult
-
- All Implemented Interfaces:
java.io.Serializable,org.apereo.cas.authentication.AuthenticationHandlerExecutionResult
public class DefaultAuthenticationHandlerExecutionResult extends java.lang.Object implements org.apereo.cas.authentication.AuthenticationHandlerExecutionResultContains information about a successful authentication produced by anAuthenticationHandler. Handler results are naturally immutable since they contain sensitive information that should not be modified outside theAuthenticationHandlerthat produced it.- Since:
- 4.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultAuthenticationHandlerExecutionResult(org.apereo.cas.authentication.AuthenticationHandler source, org.apereo.cas.authentication.CredentialMetaData metaData)DefaultAuthenticationHandlerExecutionResult(org.apereo.cas.authentication.AuthenticationHandler source, org.apereo.cas.authentication.CredentialMetaData metaData, @NonNull java.util.List<org.apereo.cas.authentication.MessageDescriptor> warnings)DefaultAuthenticationHandlerExecutionResult(org.apereo.cas.authentication.AuthenticationHandler source, org.apereo.cas.authentication.CredentialMetaData metaData, org.apereo.cas.authentication.principal.Principal p)DefaultAuthenticationHandlerExecutionResult(org.apereo.cas.authentication.AuthenticationHandler source, org.apereo.cas.authentication.CredentialMetaData metaData, org.apereo.cas.authentication.principal.Principal p, @NonNull java.util.List<org.apereo.cas.authentication.MessageDescriptor> warnings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apereo.cas.authentication.AuthenticationHandlerExecutionResultaddWarning(org.apereo.cas.authentication.MessageDescriptor message)org.apereo.cas.authentication.AuthenticationHandlerExecutionResultclearWarnings()
-
-
-
Constructor Detail
-
DefaultAuthenticationHandlerExecutionResult
public DefaultAuthenticationHandlerExecutionResult(org.apereo.cas.authentication.AuthenticationHandler source, org.apereo.cas.authentication.CredentialMetaData metaData)
-
DefaultAuthenticationHandlerExecutionResult
public DefaultAuthenticationHandlerExecutionResult(org.apereo.cas.authentication.AuthenticationHandler source, org.apereo.cas.authentication.CredentialMetaData metaData, org.apereo.cas.authentication.principal.Principal p)
-
DefaultAuthenticationHandlerExecutionResult
public DefaultAuthenticationHandlerExecutionResult(org.apereo.cas.authentication.AuthenticationHandler source, org.apereo.cas.authentication.CredentialMetaData metaData, @NonNull @NonNull java.util.List<org.apereo.cas.authentication.MessageDescriptor> warnings)
-
DefaultAuthenticationHandlerExecutionResult
public DefaultAuthenticationHandlerExecutionResult(org.apereo.cas.authentication.AuthenticationHandler source, org.apereo.cas.authentication.CredentialMetaData metaData, org.apereo.cas.authentication.principal.Principal p, @NonNull @NonNull java.util.List<org.apereo.cas.authentication.MessageDescriptor> warnings)
-
-
Method Detail
-
addWarning
public org.apereo.cas.authentication.AuthenticationHandlerExecutionResult addWarning(org.apereo.cas.authentication.MessageDescriptor message)
- Specified by:
addWarningin interfaceorg.apereo.cas.authentication.AuthenticationHandlerExecutionResult
-
clearWarnings
public org.apereo.cas.authentication.AuthenticationHandlerExecutionResult clearWarnings()
- Specified by:
clearWarningsin interfaceorg.apereo.cas.authentication.AuthenticationHandlerExecutionResult
-
-