Class DefaultAuthenticationResult

java.lang.Object
org.apereo.cas.authentication.DefaultAuthenticationResult
All Implemented Interfaces:
Serializable, org.apereo.cas.authentication.AuthenticationResult

public class DefaultAuthenticationResult extends Object implements org.apereo.cas.authentication.AuthenticationResult
The DefaultAuthenticationResult represents a concrete implementation of AuthenticationResult. It acts as a carrier for the finalized primary authentications established during processing of authentication events (possibly multi-transactional) by CAS' authentication subsystem.
Since:
4.2
See Also:
  • Constructor Details

    • DefaultAuthenticationResult

      public DefaultAuthenticationResult(org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.authentication.principal.Service service)
  • Method Details

    • builder

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setCredentialProvided

      public void setCredentialProvided(boolean credentialProvided)
    • getAuthentication

      public org.apereo.cas.authentication.Authentication getAuthentication()
      Specified by:
      getAuthentication in interface org.apereo.cas.authentication.AuthenticationResult
    • getService

      public org.apereo.cas.authentication.principal.Service getService()
      Specified by:
      getService in interface org.apereo.cas.authentication.AuthenticationResult
    • isCredentialProvided

      public boolean isCredentialProvided()
      Specified by:
      isCredentialProvided in interface org.apereo.cas.authentication.AuthenticationResult