public static Ticket getTicketGrantingTicket(final RequestContext context) {
        return context.getFlowScope().get("ticketGrantingTicket", Ticket.class);
    }
Get ticket granting ticket.

@param context the context
@return the ticket granting ticket
core/cas-server-core-web-api/src/main/java/org/apereo/cas/web/support/WebUtils.java