@JsonIgnore
    @Override
    public TriStateBoolean getCreateCookieOnRenewedAuthentication() {
        val result = policies
            .stream()
            .filter(p -> p.getCreateCookieOnRenewedAuthentication() != null)
            .allMatch(p -> p.getCreateCookieOnRenewedAuthentication().isTrue() || p.getCreateCookieOnRenewedAuthentication().isUndefined());
        return TriStateBoolean.fromBoolean(result);
    }
Add policies.

@param policy the policy
core/cas-server-core-services-api/src/main/java/org/apereo/cas/services/ChainingRegisteredServiceSingleSignOnParticipationPolicy.java