@Override
    public boolean isAllowIfInactive() {
        if (operator == LogicalOperatorTypes.OR) {
            return conditions
                .stream()
                .anyMatch(RegisteredServiceAccessStrategyActivationCriteria::isAllowIfInactive);
        }
        return conditions
            .stream()
            .allMatch(RegisteredServiceAccessStrategyActivationCriteria::isAllowIfInactive);
    }
Add conditions.

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