protected boolean doPrincipalAttributesAllowParticipationInSso(
        final Map<String, List<Object>> givenAttributes) {
        LOGGER.debug("Attributes examined for SSO participation are [{}]", givenAttributes);
        val stream = attributes.entrySet().stream();
        if (requireAllAttributes) {
            return stream.allMatch(entry -> examineAttributeValues(givenAttributes, entry));
        }
        return stream.anyMatch(entry -> examineAttributeValues(givenAttributes, entry));
    }
This is {@link AttributeBasedRegisteredServiceSingleSignOnParticipationPolicy}.

@author Misagh Moayyed
@since 7.0.0
core/cas-server-core-services-api/src/main/java/org/apereo/cas/services/AttributeBasedRegisteredServiceSingleSignOnParticipationPolicy.java