Class MappedEntityAttributesPredicate.EntityAttributesMatcher
java.lang.Object
net.shibboleth.idp.saml.profile.logic.MappedEntityAttributesPredicate.EntityAttributesMatcher
- All Implemented Interfaces:
Predicate<EntityAttributesPredicate.Candidate>
,Predicate<EntityAttributesPredicate.Candidate>
- Enclosing class:
- MappedEntityAttributesPredicate
private class MappedEntityAttributesPredicate.EntityAttributesMatcher
extends Object
implements Predicate<EntityAttributesPredicate.Candidate>
Determines whether an
EntityAttributesPredicate.Candidate
criterion is satisfied by the mapped
attributes in an entity's metadata.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Multimap<String,
? extends IdPAttribute> Population to evaluate for a match. -
Constructor Summary
ConstructorsConstructorDescriptionEntityAttributesMatcher
(Multimap<String, ? extends IdPAttribute> attrs) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprivate String
Convert an IdPAttributeValue to a String if the type is recognized.boolean
-
Field Details
-
attributes
Population to evaluate for a match.
-
-
Constructor Details
-
EntityAttributesMatcher
public EntityAttributesMatcher(@Nonnull @NonnullElements Multimap<String, ? extends IdPAttribute> attrs) Constructor.- Parameters:
attrs
- population to evaluate for a match
-
-
Method Details
-
test
- Specified by:
test
in interfacePredicate<EntityAttributesPredicate.Candidate>
-
attributeValueToString
Convert an IdPAttributeValue to a String if the type is recognized.- Parameters:
value
- object to convert- Returns:
- the converted value, or null
-