@Override
    @JsonIgnore
    public boolean isExclusive() {
        if (operator == LogicalOperatorTypes.OR) {
            return strategies.stream().anyMatch(RegisteredServiceDelegatedAuthenticationPolicy::isExclusive);
        }
        return strategies.stream().allMatch(RegisteredServiceDelegatedAuthenticationPolicy::isExclusive);
    }
Add policy/strategy.

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