@Override
    public TriStateBoolean isCreateCookieOnRenewedAuthentication(final SingleSignOnParticipationRequest context) {
        val registeredService = (WebBasedRegisteredService) getRegisteredService(context);
        if (registeredService != null) {
            val ssoPolicy = registeredService.getSingleSignOnParticipationPolicy();
            if (ssoPolicy != null) {
                return ssoPolicy.getCreateCookieOnRenewedAuthentication();
            }
        }
        return TriStateBoolean.fromBoolean(properties.isCreateSsoCookieOnRenewAuthn());
    }
This is {@link DefaultSingleSignOnParticipationStrategy}.

@author Misagh Moayyed
@since 5.2.0
core/cas-server-core-webflow-api/src/main/java/org/apereo/cas/web/flow/DefaultSingleSignOnParticipationStrategy.java