@Override
    public boolean shouldParticipateInSso(final RegisteredService registeredService, final AuthenticationAwareTicket ticketState) {
        return policies.stream()
            .allMatch(p -> p.shouldParticipateInSso(registeredService, ticketState));
    }
Add policies.

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