public class EntityGroupNamePredicate extends Object implements com.google.common.base.Predicate<EntityDescriptor>
EntitiesDescriptor groups.| Modifier and Type | Field and Description |
|---|---|
private Collection<CriteriaSet> |
criteriaSets
Pre-created criteria sets for metadata lookup.
|
private Set<String> |
groupNames
Groups to match on.
|
private org.slf4j.Logger |
log
Class logger.
|
private MetadataResolver |
metadataResolver
A supplemental resolver to allow for
AffiliationDescriptor lookup. |
| Constructor and Description |
|---|
EntityGroupNamePredicate(Collection<String> names)
Constructor.
|
EntityGroupNamePredicate(Collection<String> names,
MetadataResolver resolver)
Constructor.
|
@Nonnull private final org.slf4j.Logger log
@Nonnull @NonnullElements private final Set<String> groupNames
@Nullable private MetadataResolver metadataResolver
AffiliationDescriptor lookup.@Nullable @NonnullElements private Collection<CriteriaSet> criteriaSets
public EntityGroupNamePredicate(@Nullable@ParameterName(name="names") Collection<String> names)
names - the group names to test forpublic EntityGroupNamePredicate(@Nullable@ParameterName(name="names") Collection<String> names, @Nullable@ParameterName(name="resolver") MetadataResolver resolver)
names - the group names to test forresolver - metadata resolver for affiliation support@Nonnull @NonnullElements @Unmodifiable @NotLive public Set<String> getGroupNames()
public boolean apply(@Nullable EntityDescriptor input)
apply in interface com.google.common.base.Predicate<EntityDescriptor>Copyright © 1999–2019 Shibboleth Consortium. All rights reserved.