public TicketGrantingTicket handleProxyGrantingTicketDelivery ( final String serviceTicketId , final Credential credential ) throws AuthenticationException , AbstractTicketException { val serviceTicket = serviceValidateConfigurationContext . getCentralAuthenticationService ( ) . getTicket ( serviceTicketId , ServiceTicket . class ) ; val authenticationResult = serviceValidateConfigurationContext . getAuthenticationSystemSupport ( ) . handleAndFinalizeSingleAuthenticationTransaction ( serviceTicket . getService ( ) , credential ) ; val proxyGrantingTicketId = serviceValidateConfigurationContext . getCentralAuthenticationService ( ) . createProxyGrantingTicket ( serviceTicketId , authenticationResult ) ; LOGGER . debug ( "Generated proxy-granting ticket [{}] off of service ticket [{}] and credential [{}]" , proxyGrantingTicketId . getId ( ) , serviceTicketId , credential ) ; return proxyGrantingTicketId ; }
Handle proxy granting ticket delivery .