public class DelegatingCriteriaRelyingPartyConfigurationResolver extends AbstractIdentifiedInitializableComponent implements CriteriaRelyingPartyConfigurationResolver, IdentifiableComponent
CriteriaRelyingPartyConfigurationResolver which delegates to an instance of
RelyingPartyConfigurationResolver.
One of the following input criteria is required for resolution based on relying party entityID:
| Modifier and Type | Field and Description |
|---|---|
private RelyingPartyConfigurationResolver |
delegate
The RelyingPartyConfigurationResolver to which to delegate.
|
private org.slf4j.Logger |
log
Logger.
|
| Constructor and Description |
|---|
DelegatingCriteriaRelyingPartyConfigurationResolver()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
private ProfileRequestContext |
buildContext(CriteriaSet criteria)
Build and populate the synthetic instance of
ProfileRequestContext which will be passed
in the resolution call to the delegate. |
protected void |
doDestroy() |
protected void |
doInitialize() |
SecurityConfiguration |
getDefaultSecurityConfiguration(String profileId) |
Iterable<RelyingPartyConfiguration> |
resolve(CriteriaSet criteria) |
private EntityDescriptor |
resolveEntityDescriptor(CriteriaSet criteria)
Resolve the EntityDescriptor from the criteria.
|
private String |
resolveEntityID(CriteriaSet criteria)
Resolve the entityID from the criteria.
|
private RoleDescriptor |
resolveRoleDescriptor(CriteriaSet criteria)
Resolve the RoleDescriptor from the criteria.
|
RelyingPartyConfiguration |
resolveSingle(CriteriaSet criteria) |
void |
setDelegate(RelyingPartyConfigurationResolver resolver)
Set the
RelyingPartyConfigurationResolver instance to which to delegate. |
void |
setId(String componentId) |
getIddestroy, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIdprivate org.slf4j.Logger log
@NonnullAfterInit private RelyingPartyConfigurationResolver delegate
public DelegatingCriteriaRelyingPartyConfigurationResolver()
public void setDelegate(@Nullable RelyingPartyConfigurationResolver resolver)
RelyingPartyConfigurationResolver instance to which to delegate.resolver - the resolver delegate instancepublic void setId(@Nonnull String componentId)
setId in interface IdentifiableComponentsetId in class AbstractIdentifiedInitializableComponentprotected void doInitialize()
throws ComponentInitializationException
doInitialize in class AbstractIdentifiedInitializableComponentComponentInitializationExceptionprotected void doDestroy()
doDestroy in class AbstractInitializableComponent@Nullable public SecurityConfiguration getDefaultSecurityConfiguration(@Nonnull@NotEmpty String profileId)
getDefaultSecurityConfiguration in interface CriteriaRelyingPartyConfigurationResolver@Nullable public RelyingPartyConfiguration resolveSingle(@Nullable CriteriaSet criteria) throws ResolverException
resolveSingle in interface Resolver<RelyingPartyConfiguration,CriteriaSet>ResolverException@Nonnull @NonnullElements public Iterable<RelyingPartyConfiguration> resolve(@Nullable CriteriaSet criteria) throws ResolverException
resolve in interface Resolver<RelyingPartyConfiguration,CriteriaSet>ResolverException@Nullable private ProfileRequestContext buildContext(@Nullable CriteriaSet criteria)
ProfileRequestContext which will be passed
in the resolution call to the delegate.criteria - the input criteriaprivate String resolveEntityID(@Nonnull CriteriaSet criteria)
criteria - the input criteriaprivate EntityDescriptor resolveEntityDescriptor(@Nonnull CriteriaSet criteria)
criteria - the input criteriaprivate RoleDescriptor resolveRoleDescriptor(@Nonnull CriteriaSet criteria)
criteria - the input criteriaCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.