Add entity attribute matcher for assurance certification values

Description

We have entity attribute matcher shorthands for entity categories and entity category support values. Another common use case seems to be assurance categories, which at the moment give us this kind of configuration:

<bean parent="MultiPredicateMatcher"> <property name="nameFormatPredicate"> <bean class="com.google.common.base.Predicates" factory-method="equalTo" c:_="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" /> </property> <property name="namePredicate"> <bean class="com.google.common.base.Predicates" factory-method="equalTo" c:_="urn:oasis:names:tc:SAML:attribute:assurance-certification" /> </property> <property name="valuePredicate"> <bean class="com.google.common.base.Predicates" factory-method="equalTo" c:_="http://id.incommon.org/assurance/silver" /> </property> </bean>

It would be useful to have a helper class for this in the same way as we have EntityCategoryMatcher.

Environment

None

Activity

Ian Young 
May 11, 2017 at 4:39 PM

Added in commit 45e2835b10df572d911b11a338a2bf284705e693.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Created April 19, 2017 at 9:53 AM
Updated May 16, 2024 at 12:37 PM
Resolved May 11, 2017 at 4:39 PM