Class BaseCriteriaRelyingPartyConfiigurationResolver<ReturnType>
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
net.shibboleth.profile.relyingparty.impl.BaseCriteriaRelyingPartyConfiigurationResolver<ReturnType>
- Type Parameters:
ReturnType- The type of data returned by the resolver
- All Implemented Interfaces:
Component,DestructableComponent,IdentifiableComponent,IdentifiedComponent,InitializableComponent,Resolver<ReturnType,CriteriaSet>
- Direct Known Subclasses:
CriteriaDecryptionConfigurationResolver,CriteriaSelfEntityIDResolver
public abstract class BaseCriteriaRelyingPartyConfiigurationResolver<ReturnType>
extends AbstractIdentifiedInitializableComponent
implements Resolver<ReturnType,CriteriaSet>, IdentifiableComponent
Abstract base resolver which uses an instance of
RelyingPartyConfigurationResolver to
resolve a RelyingPartyConfiguration using an input CriteriaSet only.
The required and allowed criteria are the same as the RelyingPartyConfigurationResolver
implementation in use.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.slf4j.LoggerLogger.The RelyingPartyConfigurationResolver to which to delegate. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate ProfileRequestContextbuildContext(CriteriaSet criteria) Build and populate the synthetic instance ofProfileRequestContextwhich will be used in the resolution call to the delegate as well as to resolve the entityID setting.protected voidprivate EntityDescriptorresolveEntityDescriptor(CriteriaSet criteria) Resolve the EntityDescriptor from the criteria.private StringresolveEntityID(CriteriaSet criteria) Resolve the entityID from the criteria.protected Pair<RelyingPartyConfiguration,ProfileRequestContext> resolveRelyingPartyConfiguration(CriteriaSet criteria) Resolve theRelyingPartyConfigurationbased on the inputCriteriaSet.private RoleDescriptorresolveRoleDescriptor(CriteriaSet criteria) Resolve the RoleDescriptor from the criteria.voidvoidSet theRelyingPartyConfigurationResolverinstance to which to delegate.Methods inherited from class net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
ensureId, getId, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentExceptionMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, doDestroy, initialize, isDestroyed, isInitializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.shibboleth.shared.component.IdentifiedComponent
getIdMethods inherited from interface net.shibboleth.shared.resolver.Resolver
resolve, resolveSingle
-
Field Details
-
log
@Nonnull private org.slf4j.Logger logLogger. -
rpcResolver
The RelyingPartyConfigurationResolver to which to delegate.
-
-
Constructor Details
-
BaseCriteriaRelyingPartyConfiigurationResolver
public BaseCriteriaRelyingPartyConfiigurationResolver()
-
-
Method Details
-
setId
- Specified by:
setIdin interfaceIdentifiableComponent- Overrides:
setIdin classAbstractIdentifiedInitializableComponent
-
doInitialize
- Overrides:
doInitializein classAbstractIdentifiedInitializableComponent- Throws:
ComponentInitializationException