public interface TicketRegistrySupport
Authentication
object and its associated components
from available CAS SSO String token called Ticket Granting Ticket (TGT).Modifier and Type | Method and Description |
---|---|
Principal |
getAuthenticatedPrincipalFrom(java.lang.String ticketGrantingTicketId)
Retrieve a valid Principal object identified by the provided TGT SSO token.
|
Authentication |
getAuthenticationFrom(java.lang.String ticketGrantingTicketId)
Retrieve a valid Authentication object identified by the provided TGT SSO token.
|
java.util.Map<java.lang.String,java.lang.Object> |
getPrincipalAttributesFrom(java.lang.String ticketGrantingTicketId)
Retrieve a valid Principal's map of attributes identified by the provided TGT SSO token.
|
void |
updateAuthentication(java.lang.String ticketGrantingTicketId,
Authentication authentication)
Update authentication associated with the ticket-granting ticket
and restore changes back to the registry; particularly updated authentication
attributes, etc.
|
Authentication getAuthenticationFrom(java.lang.String ticketGrantingTicketId)
ticketGrantingTicketId
- an SSO token identifying the requested AuthenticationPrincipal getAuthenticatedPrincipalFrom(java.lang.String ticketGrantingTicketId)
ticketGrantingTicketId
- an SSO token identifying the requested authenticated Principaljava.util.Map<java.lang.String,java.lang.Object> getPrincipalAttributesFrom(java.lang.String ticketGrantingTicketId)
ticketGrantingTicketId
- an SSO token identifying the requested authenticated Principal's attributesvoid updateAuthentication(java.lang.String ticketGrantingTicketId, Authentication authentication)
ticketGrantingTicketId
- the ticket granting ticket idauthentication
- the authentication