@Transactional(transactionManager="ticketTransactionManager") public class DefaultCentralAuthenticationService extends AbstractCentralAuthenticationService
CentralAuthenticationService, and also the
central, organizing component of CAS' internal implementation.
This class is threadsafe.applicationEventPublisher, authenticationRequestServiceSelectionStrategies, cipherExecutor, logoutManager, principalFactory, registeredServiceAccessStrategyEnforcer, serviceContextAuthenticationPolicyFactory, servicesManager, ticketFactory, ticketRegistry| Constructor and Description |
|---|
DefaultCentralAuthenticationService(org.springframework.context.ApplicationEventPublisher applicationEventPublisher,
org.apereo.cas.ticket.registry.TicketRegistry ticketRegistry,
org.apereo.cas.services.ServicesManager servicesManager,
org.apereo.cas.logout.LogoutManager logoutManager,
org.apereo.cas.ticket.TicketFactory ticketFactory,
org.apereo.cas.authentication.AuthenticationServiceSelectionPlan authenticationRequestServiceSelectionStrategies,
org.apereo.cas.authentication.ContextualAuthenticationPolicyFactory<org.apereo.cas.services.ServiceContext> serviceContextAuthenticationPolicyFactory,
org.apereo.cas.authentication.principal.PrincipalFactory principalFactory,
org.apereo.cas.CipherExecutor<java.lang.String,java.lang.String> cipherExecutor,
org.apereo.cas.audit.AuditableExecution registeredServiceAccessStrategyEnforcer) |
| Modifier and Type | Method and Description |
|---|---|
org.apereo.cas.ticket.proxy.ProxyGrantingTicket |
createProxyGrantingTicket(java.lang.String serviceTicketId,
org.apereo.cas.authentication.AuthenticationResult authenticationResult) |
org.apereo.cas.ticket.TicketGrantingTicket |
createTicketGrantingTicket(org.apereo.cas.authentication.AuthenticationResult authenticationResult) |
java.util.List<org.apereo.cas.logout.LogoutRequest> |
destroyTicketGrantingTicket(java.lang.String ticketGrantingTicketId) |
org.apereo.cas.ticket.proxy.ProxyTicket |
grantProxyTicket(java.lang.String proxyGrantingTicket,
org.apereo.cas.authentication.principal.Service service) |
org.apereo.cas.ticket.ServiceTicket |
grantServiceTicket(java.lang.String ticketGrantingTicketId,
org.apereo.cas.authentication.principal.Service service,
org.apereo.cas.authentication.AuthenticationResult authenticationResult) |
org.apereo.cas.validation.Assertion |
validateServiceTicket(java.lang.String serviceTicketId,
org.apereo.cas.authentication.principal.Service service) |
deleteTicket, doPublishEvent, evaluateProxiedServiceIfNeeded, getAuthenticationSatisfiedByPolicy, getTicket, getTicket, getTickets, isTicketAuthenticityVerified, resolveServiceFromAuthenticationRequest, updateTicket, verifyTicketStatepublic DefaultCentralAuthenticationService(org.springframework.context.ApplicationEventPublisher applicationEventPublisher,
org.apereo.cas.ticket.registry.TicketRegistry ticketRegistry,
org.apereo.cas.services.ServicesManager servicesManager,
org.apereo.cas.logout.LogoutManager logoutManager,
org.apereo.cas.ticket.TicketFactory ticketFactory,
org.apereo.cas.authentication.AuthenticationServiceSelectionPlan authenticationRequestServiceSelectionStrategies,
org.apereo.cas.authentication.ContextualAuthenticationPolicyFactory<org.apereo.cas.services.ServiceContext> serviceContextAuthenticationPolicyFactory,
org.apereo.cas.authentication.principal.PrincipalFactory principalFactory,
org.apereo.cas.CipherExecutor<java.lang.String,java.lang.String> cipherExecutor,
org.apereo.cas.audit.AuditableExecution registeredServiceAccessStrategyEnforcer)
@Timed(name="DESTROY_TICKET_GRANTING_TICKET_TIMER")
@Metered(name="DESTROY_TICKET_GRANTING_TICKET_METER")
@Counted(name="DESTROY_TICKET_GRANTING_TICKET_COUNTER",
monotonic=true)
public java.util.List<org.apereo.cas.logout.LogoutRequest> destroyTicketGrantingTicket(java.lang.String ticketGrantingTicketId)
@Timed(name="GRANT_SERVICE_TICKET_TIMER")
@Metered(name="GRANT_SERVICE_TICKET_METER")
@Counted(name="GRANT_SERVICE_TICKET_COUNTER",
monotonic=true)
public org.apereo.cas.ticket.ServiceTicket grantServiceTicket(java.lang.String ticketGrantingTicketId,
org.apereo.cas.authentication.principal.Service service,
org.apereo.cas.authentication.AuthenticationResult authenticationResult)
throws org.apereo.cas.authentication.AuthenticationException,
org.apereo.cas.ticket.AbstractTicketException
org.apereo.cas.authentication.AuthenticationExceptionorg.apereo.cas.ticket.AbstractTicketException@Timed(name="GRANT_PROXY_TICKET_TIMER")
@Metered(name="GRANT_PROXY_TICKET_METER")
@Counted(name="GRANT_PROXY_TICKET_COUNTER",
monotonic=true)
public org.apereo.cas.ticket.proxy.ProxyTicket grantProxyTicket(java.lang.String proxyGrantingTicket,
org.apereo.cas.authentication.principal.Service service)
throws org.apereo.cas.ticket.AbstractTicketException
org.apereo.cas.ticket.AbstractTicketException@Timed(name="CREATE_PROXY_GRANTING_TICKET_TIMER")
@Metered(name="CREATE_PROXY_GRANTING_TICKET_METER")
@Counted(name="CREATE_PROXY_GRANTING_TICKET_COUNTER",
monotonic=true)
public org.apereo.cas.ticket.proxy.ProxyGrantingTicket createProxyGrantingTicket(java.lang.String serviceTicketId,
org.apereo.cas.authentication.AuthenticationResult authenticationResult)
throws org.apereo.cas.authentication.AuthenticationException,
org.apereo.cas.ticket.AbstractTicketException
org.apereo.cas.authentication.AuthenticationExceptionorg.apereo.cas.ticket.AbstractTicketException@Timed(name="VALIDATE_SERVICE_TICKET_TIMER")
@Metered(name="VALIDATE_SERVICE_TICKET_METER")
@Counted(name="VALIDATE_SERVICE_TICKET_COUNTER",
monotonic=true)
public org.apereo.cas.validation.Assertion validateServiceTicket(java.lang.String serviceTicketId,
org.apereo.cas.authentication.principal.Service service)
throws org.apereo.cas.ticket.AbstractTicketException
org.apereo.cas.ticket.AbstractTicketException@Timed(name="CREATE_TICKET_GRANTING_TICKET_TIMER")
@Metered(name="CREATE_TICKET_GRANTING_TICKET_METER")
@Counted(name="CREATE_TICKET_GRANTING_TICKET_COUNTER",
monotonic=true)
public org.apereo.cas.ticket.TicketGrantingTicket createTicketGrantingTicket(org.apereo.cas.authentication.AuthenticationResult authenticationResult)
throws org.apereo.cas.authentication.AuthenticationException,
org.apereo.cas.ticket.AbstractTicketException
org.apereo.cas.authentication.AuthenticationExceptionorg.apereo.cas.ticket.AbstractTicketException