public static String getTicketGrantingTicketId ( final RequestContext context ) { val tgtFromRequest = getTicketGrantingTicketIdFrom ( context . getRequestScope ( ) ) ; val tgtFromFlow = getTicketGrantingTicketIdFrom ( context . getFlowScope ( ) ) ; return tgtFromRequest != null ? tgtFromRequest : tgtFromFlow ; }
Gets the ticket granting ticket id from the request and flow scopes .