@Override
    public TransientSessionTicket store(final RequestContext requestContext,
                                        final JEEContext webContext, final Client client) throws Throwable {
        val ticket = storeDelegatedClientAuthenticationRequest(webContext, requestContext, client);
        rememberSelectedClientIfNecessary(webContext, client);

        if (client instanceof final CasClient instance) {
            trackSessionIdForCasClient(webContext, ticket, instance);
        } else {
            val builders = getDelegatedClientSessionManagers(client);
            builders.parallelStream().forEach(builder -> builder.trackIdentifier(webContext, ticket, client));
        }
        return ticket;
    }
This is {@link DefaultDelegatedClientAuthenticationWebflowManager}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-pac4j-core/src/main/java/org/apereo/cas/web/flow/DefaultDelegatedClientAuthenticationWebflowManager.java