private void updateTicket(final WebContext context, final TransientSessionTicket ticket) {
        FunctionUtils.doUnchecked(__ -> {
            val updatedTicket = ticketRegistry.updateTicket(ticket);
            context.setRequestAttribute(SESSION_ID_IN_REQUEST_ATTRIBUTE, updatedTicket.getId());
        });
    }
This is {@link TicketRegistrySessionStore}.

@author Misagh Moayyed
@author Jerome LELEU
@since 6.1.0
support/cas-server-support-pac4j-api/src/main/java/org/apereo/cas/pac4j/TicketRegistrySessionStore.java