public final class RelyingPartyConfigurationSupport extends Object
RelyingPartyConfiguration objects with SAML functionality.| Modifier | Constructor and Description |
|---|---|
private |
RelyingPartyConfigurationSupport()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static RelyingPartyConfiguration |
byGroup(Collection<String> groupNames,
MetadataResolver resolver)
A shorthand method for constructing a
RelyingPartyConfiguration with an activation condition based on
one or more EntitiesDescriptor groups, and optionally via
AffiliationDescriptor lookup. |
static RelyingPartyConfiguration |
byName(Collection<String> relyingPartyIds)
A shorthand method for constructing a
RelyingPartyConfiguration with an activation condition based on
one or more relying party IDs. |
static RelyingPartyConfiguration |
byTag(Collection<EntityAttributesPredicate.Candidate> candidates,
boolean trim,
boolean matchAll)
A shorthand method for constructing a
RelyingPartyConfiguration with an activation condition based on
an EntityAttributesPredicate. |
private RelyingPartyConfigurationSupport()
@Nonnull public static RelyingPartyConfiguration byName(@Nonnull@NonnullElements Collection<String> relyingPartyIds)
RelyingPartyConfiguration with an activation condition based on
one or more relying party IDs.
If a single ID is supplied, then the ID is also set as the identifier for the configuration.
relyingPartyIds - the relying parties for which the configuration should be active@Nonnull public static RelyingPartyConfiguration byGroup(@Nonnull@NonnullElements Collection<String> groupNames, @Nullable MetadataResolver resolver)
RelyingPartyConfiguration with an activation condition based on
one or more EntitiesDescriptor groups, and optionally via
AffiliationDescriptor lookup.groupNames - the group namesresolver - optional metadata source for affiliation lookup@Nonnull public static RelyingPartyConfiguration byTag(@Nonnull@NonnullElements Collection<EntityAttributesPredicate.Candidate> candidates, boolean trim, boolean matchAll)
RelyingPartyConfiguration with an activation condition based on
an EntityAttributesPredicate.candidates - the candidate rulestrim - true iff tag values in metadata should be trimmed before comparisonmatchAll - true iff all the candidate rules are required to matchCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.