Class DefaultAuthenticationHandlerExecutionResult

  • All Implemented Interfaces:
    java.io.Serializable, org.apereo.cas.authentication.AuthenticationHandlerExecutionResult

    public class DefaultAuthenticationHandlerExecutionResult
    extends java.lang.Object
    implements org.apereo.cas.authentication.AuthenticationHandlerExecutionResult
    Contains information about a successful authentication produced by an AuthenticationHandler. Handler results are naturally immutable since they contain sensitive information that should not be modified outside the AuthenticationHandler that 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)
      Instantiates a new handler result.
      DefaultAuthenticationHandlerExecutionResult​(org.apereo.cas.authentication.AuthenticationHandler source, org.apereo.cas.authentication.CredentialMetaData metaData, java.util.List<org.apereo.cas.authentication.MessageDescriptor> warnings)
      Instantiates a new handler result.
      DefaultAuthenticationHandlerExecutionResult​(org.apereo.cas.authentication.AuthenticationHandler source, org.apereo.cas.authentication.CredentialMetaData metaData, org.apereo.cas.authentication.principal.Principal p)
      Instantiates a new handler result.
      DefaultAuthenticationHandlerExecutionResult​(org.apereo.cas.authentication.AuthenticationHandler source, org.apereo.cas.authentication.CredentialMetaData metaData, org.apereo.cas.authentication.principal.Principal p, java.util.List<org.apereo.cas.authentication.MessageDescriptor> warnings)
      Instantiates a new handler result.
    • Method Summary

      • Methods inherited from interface org.apereo.cas.authentication.AuthenticationHandlerExecutionResult

        getCredentialMetaData, getHandlerName, getPrincipal, getWarnings
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultAuthenticationHandlerExecutionResult

        public DefaultAuthenticationHandlerExecutionResult​(org.apereo.cas.authentication.AuthenticationHandler source,
                                                           org.apereo.cas.authentication.CredentialMetaData metaData)
        Instantiates a new handler result.
        Parameters:
        source - the source
        metaData - the meta data
      • DefaultAuthenticationHandlerExecutionResult

        public DefaultAuthenticationHandlerExecutionResult​(org.apereo.cas.authentication.AuthenticationHandler source,
                                                           org.apereo.cas.authentication.CredentialMetaData metaData,
                                                           org.apereo.cas.authentication.principal.Principal p)
        Instantiates a new handler result.
        Parameters:
        source - the source
        metaData - the meta data
        p - the p
      • DefaultAuthenticationHandlerExecutionResult

        public DefaultAuthenticationHandlerExecutionResult​(org.apereo.cas.authentication.AuthenticationHandler source,
                                                           org.apereo.cas.authentication.CredentialMetaData metaData,
                                                           java.util.List<org.apereo.cas.authentication.MessageDescriptor> warnings)
        Instantiates a new handler result.
        Parameters:
        source - the source
        metaData - the meta data
        warnings - the warnings
      • DefaultAuthenticationHandlerExecutionResult

        public 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)
        Instantiates a new handler result.
        Parameters:
        source - the source
        metaData - the meta data
        p - the p
        warnings - the warnings