@Transactional(readOnly=false,
transactionManager="ticketTransactionManager")
public class CentralAuthenticationServiceImpl
extends AbstractCentralAuthenticationService
CentralAuthenticationService, and also the
central, organizing component of CAS' internal implementation.
This class is threadsafe.applicationEventPublisher, cipherExecutor, logger, logoutManager, principalFactory, serviceContextAuthenticationPolicyFactory, servicesManager, ticketFactory, ticketRegistry, validationServiceSelectionStrategies| Constructor and Description |
|---|
CentralAuthenticationServiceImpl()
Instantiates a new Central authentication service impl.
|
CentralAuthenticationServiceImpl(org.apereo.cas.ticket.registry.TicketRegistry ticketRegistry,
org.apereo.cas.ticket.TicketFactory ticketFactory,
org.apereo.cas.services.ServicesManager servicesManager,
org.apereo.cas.logout.LogoutManager logoutManager)
Build the central authentication service implementation.
|
| 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)
Destroy a TicketGrantingTicket and perform back channel logout.
|
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) |
doPublishEvent, evaluateProxiedServiceIfNeeded, getAuthenticationSatisfiedByPolicy, getTicket, getTicket, getTickets, setApplicationEventPublisher, setCipherExecutor, setLogoutManager, setPrincipalFactory, setServiceContextAuthenticationPolicyFactory, setServicesManager, setTicketFactory, setTicketRegistry, setValidationServiceSelectionStrategies, updateTicket, verifyTicketStatepublic CentralAuthenticationServiceImpl()
public CentralAuthenticationServiceImpl(org.apereo.cas.ticket.registry.TicketRegistry ticketRegistry,
org.apereo.cas.ticket.TicketFactory ticketFactory,
org.apereo.cas.services.ServicesManager servicesManager,
org.apereo.cas.logout.LogoutManager logoutManager)
ticketRegistry - the tickets registry.ticketFactory - the ticket factoryservicesManager - the services manager.logoutManager - the logout manager.@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)
IllegalArgumentException if the TicketGrantingTicket ID is null.ticketGrantingTicketId - the id of the ticket we want to destroy@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