Class DefaultAuthenticationSystemSupport

java.lang.Object
org.apereo.cas.authentication.DefaultAuthenticationSystemSupport
All Implemented Interfaces:
org.apereo.cas.authentication.AuthenticationSystemSupport

public class DefaultAuthenticationSystemSupport extends Object implements org.apereo.cas.authentication.AuthenticationSystemSupport
Since:
4.2.0
  • Field Summary

    Fields inherited from interface org.apereo.cas.authentication.AuthenticationSystemSupport

    BEAN_NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
    DefaultAuthenticationSystemSupport(org.apereo.cas.authentication.AuthenticationTransactionManager authenticationTransactionManager, org.apereo.cas.authentication.PrincipalElectionStrategy principalElectionStrategy, org.apereo.cas.authentication.AuthenticationResultBuilderFactory authenticationResultBuilderFactory, org.apereo.cas.authentication.AuthenticationTransactionFactory authenticationTransactionFactory, org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.authentication.principal.PrincipalResolver principalResolver, org.apereo.cas.authentication.principal.PrincipalFactory principalFactory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apereo.cas.authentication.AuthenticationResultBuilder
    establishAuthenticationContextFromInitial(org.apereo.cas.authentication.Authentication authentication)
     
    org.apereo.cas.authentication.AuthenticationResultBuilder
    establishAuthenticationContextFromInitial(org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.authentication.Credential... credentials)
     
    org.apereo.cas.authentication.AuthenticationResult
    finalizeAllAuthenticationTransactions(@NonNull org.apereo.cas.authentication.AuthenticationResultBuilder authenticationResultBuilder, org.apereo.cas.authentication.principal.Service service)
     
    org.apereo.cas.authentication.AuthenticationResult
    finalizeAuthenticationTransaction(org.apereo.cas.authentication.principal.Service service, org.apereo.cas.authentication.Credential... credential)
     
    org.apereo.cas.authentication.AuthenticationResultBuilderFactory
     
    org.apereo.cas.authentication.AuthenticationTransactionFactory
     
    org.apereo.cas.authentication.AuthenticationTransactionManager
     
    org.apereo.cas.authentication.PrincipalElectionStrategy
     
    org.apereo.cas.authentication.principal.PrincipalFactory
     
    org.apereo.cas.authentication.principal.PrincipalResolver
     
    org.apereo.cas.services.ServicesManager
     
    org.apereo.cas.authentication.AuthenticationResultBuilder
    handleAuthenticationTransaction(org.apereo.cas.authentication.principal.Service service, org.apereo.cas.authentication.AuthenticationResultBuilder authenticationResultBuilder, org.apereo.cas.authentication.Credential... credentials)
     
    org.apereo.cas.authentication.AuthenticationResultBuilder
    handleInitialAuthenticationTransaction(org.apereo.cas.authentication.principal.Service service, org.apereo.cas.authentication.Credential... credential)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apereo.cas.authentication.AuthenticationSystemSupport

    finalizeAuthenticationTransaction, finalizeAuthenticationTransaction
  • Constructor Details

    • DefaultAuthenticationSystemSupport

      public DefaultAuthenticationSystemSupport(org.apereo.cas.authentication.AuthenticationTransactionManager authenticationTransactionManager, org.apereo.cas.authentication.PrincipalElectionStrategy principalElectionStrategy, org.apereo.cas.authentication.AuthenticationResultBuilderFactory authenticationResultBuilderFactory, org.apereo.cas.authentication.AuthenticationTransactionFactory authenticationTransactionFactory, org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.authentication.principal.PrincipalResolver principalResolver, org.apereo.cas.authentication.principal.PrincipalFactory principalFactory)
  • Method Details

    • establishAuthenticationContextFromInitial

      public org.apereo.cas.authentication.AuthenticationResultBuilder establishAuthenticationContextFromInitial(org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.authentication.Credential... credentials)
      Specified by:
      establishAuthenticationContextFromInitial in interface org.apereo.cas.authentication.AuthenticationSystemSupport
    • establishAuthenticationContextFromInitial

      public org.apereo.cas.authentication.AuthenticationResultBuilder establishAuthenticationContextFromInitial(org.apereo.cas.authentication.Authentication authentication)
      Specified by:
      establishAuthenticationContextFromInitial in interface org.apereo.cas.authentication.AuthenticationSystemSupport
    • handleInitialAuthenticationTransaction

      public org.apereo.cas.authentication.AuthenticationResultBuilder handleInitialAuthenticationTransaction(org.apereo.cas.authentication.principal.Service service, org.apereo.cas.authentication.Credential... credential) throws Throwable
      Specified by:
      handleInitialAuthenticationTransaction in interface org.apereo.cas.authentication.AuthenticationSystemSupport
      Throws:
      Throwable
    • handleAuthenticationTransaction

      public org.apereo.cas.authentication.AuthenticationResultBuilder handleAuthenticationTransaction(org.apereo.cas.authentication.principal.Service service, org.apereo.cas.authentication.AuthenticationResultBuilder authenticationResultBuilder, org.apereo.cas.authentication.Credential... credentials) throws Throwable
      Specified by:
      handleAuthenticationTransaction in interface org.apereo.cas.authentication.AuthenticationSystemSupport
      Throws:
      Throwable
    • finalizeAllAuthenticationTransactions

      public org.apereo.cas.authentication.AuthenticationResult finalizeAllAuthenticationTransactions(@NonNull @NonNull org.apereo.cas.authentication.AuthenticationResultBuilder authenticationResultBuilder, org.apereo.cas.authentication.principal.Service service) throws Throwable
      Specified by:
      finalizeAllAuthenticationTransactions in interface org.apereo.cas.authentication.AuthenticationSystemSupport
      Throws:
      Throwable
    • finalizeAuthenticationTransaction

      public org.apereo.cas.authentication.AuthenticationResult finalizeAuthenticationTransaction(org.apereo.cas.authentication.principal.Service service, org.apereo.cas.authentication.Credential... credential) throws Throwable
      Specified by:
      finalizeAuthenticationTransaction in interface org.apereo.cas.authentication.AuthenticationSystemSupport
      Throws:
      Throwable
    • getAuthenticationTransactionManager

      public org.apereo.cas.authentication.AuthenticationTransactionManager getAuthenticationTransactionManager()
      Specified by:
      getAuthenticationTransactionManager in interface org.apereo.cas.authentication.AuthenticationSystemSupport
    • getPrincipalElectionStrategy

      public org.apereo.cas.authentication.PrincipalElectionStrategy getPrincipalElectionStrategy()
      Specified by:
      getPrincipalElectionStrategy in interface org.apereo.cas.authentication.AuthenticationSystemSupport
    • getAuthenticationResultBuilderFactory

      public org.apereo.cas.authentication.AuthenticationResultBuilderFactory getAuthenticationResultBuilderFactory()
      Specified by:
      getAuthenticationResultBuilderFactory in interface org.apereo.cas.authentication.AuthenticationSystemSupport
    • getAuthenticationTransactionFactory

      public org.apereo.cas.authentication.AuthenticationTransactionFactory getAuthenticationTransactionFactory()
      Specified by:
      getAuthenticationTransactionFactory in interface org.apereo.cas.authentication.AuthenticationSystemSupport
    • getServicesManager

      public org.apereo.cas.services.ServicesManager getServicesManager()
    • getPrincipalResolver

      public org.apereo.cas.authentication.principal.PrincipalResolver getPrincipalResolver()
      Specified by:
      getPrincipalResolver in interface org.apereo.cas.authentication.AuthenticationSystemSupport
    • getPrincipalFactory

      public org.apereo.cas.authentication.principal.PrincipalFactory getPrincipalFactory()
      Specified by:
      getPrincipalFactory in interface org.apereo.cas.authentication.AuthenticationSystemSupport