Package org.apereo.cas.authentication
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
This is
DefaultAuthenticationSystemSupport.- Since:
- 4.2.0
-
Field Summary
Fields inherited from interface org.apereo.cas.authentication.AuthenticationSystemSupport
BEAN_NAME -
Constructor Summary
ConstructorsConstructorDescriptionDefaultAuthenticationSystemSupport(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 TypeMethodDescriptionorg.apereo.cas.authentication.AuthenticationResultBuilderestablishAuthenticationContextFromInitial(org.apereo.cas.authentication.Authentication authentication) org.apereo.cas.authentication.AuthenticationResultBuilderestablishAuthenticationContextFromInitial(org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.authentication.Credential... credentials) org.apereo.cas.authentication.AuthenticationResultfinalizeAllAuthenticationTransactions(@NonNull org.apereo.cas.authentication.AuthenticationResultBuilder authenticationResultBuilder, org.apereo.cas.authentication.principal.Service service) org.apereo.cas.authentication.AuthenticationResultfinalizeAuthenticationTransaction(org.apereo.cas.authentication.principal.Service service, org.apereo.cas.authentication.Credential... credential) org.apereo.cas.authentication.AuthenticationResultBuilderFactoryorg.apereo.cas.authentication.AuthenticationTransactionFactoryorg.apereo.cas.authentication.AuthenticationTransactionManagerorg.apereo.cas.authentication.PrincipalElectionStrategyorg.apereo.cas.authentication.principal.PrincipalFactoryorg.apereo.cas.authentication.principal.PrincipalResolverorg.apereo.cas.services.ServicesManagerorg.apereo.cas.authentication.AuthenticationResultBuilderhandleAuthenticationTransaction(org.apereo.cas.authentication.principal.Service service, org.apereo.cas.authentication.AuthenticationResultBuilder authenticationResultBuilder, org.apereo.cas.authentication.Credential... credentials) org.apereo.cas.authentication.AuthenticationResultBuilderhandleInitialAuthenticationTransaction(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, waitMethods 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:
establishAuthenticationContextFromInitialin interfaceorg.apereo.cas.authentication.AuthenticationSystemSupport
-
establishAuthenticationContextFromInitial
public org.apereo.cas.authentication.AuthenticationResultBuilder establishAuthenticationContextFromInitial(org.apereo.cas.authentication.Authentication authentication) - Specified by:
establishAuthenticationContextFromInitialin interfaceorg.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:
handleInitialAuthenticationTransactionin interfaceorg.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:
handleAuthenticationTransactionin interfaceorg.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:
finalizeAllAuthenticationTransactionsin interfaceorg.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:
finalizeAuthenticationTransactionin interfaceorg.apereo.cas.authentication.AuthenticationSystemSupport- Throws:
Throwable
-
getAuthenticationTransactionManager
public org.apereo.cas.authentication.AuthenticationTransactionManager getAuthenticationTransactionManager()- Specified by:
getAuthenticationTransactionManagerin interfaceorg.apereo.cas.authentication.AuthenticationSystemSupport
-
getPrincipalElectionStrategy
public org.apereo.cas.authentication.PrincipalElectionStrategy getPrincipalElectionStrategy()- Specified by:
getPrincipalElectionStrategyin interfaceorg.apereo.cas.authentication.AuthenticationSystemSupport
-
getAuthenticationResultBuilderFactory
public org.apereo.cas.authentication.AuthenticationResultBuilderFactory getAuthenticationResultBuilderFactory()- Specified by:
getAuthenticationResultBuilderFactoryin interfaceorg.apereo.cas.authentication.AuthenticationSystemSupport
-
getAuthenticationTransactionFactory
public org.apereo.cas.authentication.AuthenticationTransactionFactory getAuthenticationTransactionFactory()- Specified by:
getAuthenticationTransactionFactoryin interfaceorg.apereo.cas.authentication.AuthenticationSystemSupport
-
getServicesManager
public org.apereo.cas.services.ServicesManager getServicesManager() -
getPrincipalResolver
public org.apereo.cas.authentication.principal.PrincipalResolver getPrincipalResolver()- Specified by:
getPrincipalResolverin interfaceorg.apereo.cas.authentication.AuthenticationSystemSupport
-
getPrincipalFactory
public org.apereo.cas.authentication.principal.PrincipalFactory getPrincipalFactory()- Specified by:
getPrincipalFactoryin interfaceorg.apereo.cas.authentication.AuthenticationSystemSupport
-