public static void putTicketGrantingTicket(final RequestContext context, final Ticket ticket) {
        context.getFlowScope().put("ticketGrantingTicket", ticket);
    }
Put ticket granting ticket.

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