@Override
    public Optional<SessionStore> buildFromTrackableSession(final WebContext context, final Object trackableSession) {
        context.setRequestAttribute(SESSION_ID_IN_REQUEST_ATTRIBUTE, trackableSession);
        LOGGER.trace("Force session id: [{}]", trackableSession);
        return Optional.of(this);
    }
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