@Override
    public boolean shouldActivate(final RegisteredServiceAccessStrategyRequest request) {
        if (operator == LogicalOperatorTypes.OR) {
            return conditions
                .stream()
                .anyMatch(Unchecked.predicate(condition -> condition.shouldActivate(request)));
        }
        return conditions
            .stream()
            .allMatch(Unchecked.predicate(condition -> condition.shouldActivate(request)));
    }
Add conditions.

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