Class CriteriaSelfEntityIDResolver
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
net.shibboleth.profile.relyingparty.impl.CriteriaSelfEntityIDResolver
- All Implemented Interfaces:
Component,DestructableComponent,IdentifiableComponent,IdentifiedComponent,InitializableComponent,Resolver<String,CriteriaSet>
public class CriteriaSelfEntityIDResolver
extends AbstractIdentifiedInitializableComponent
implements Resolver<String,CriteriaSet>, IdentifiableComponent
Resolver which uses an instance of
RelyingPartyConfigurationResolver to
resolve our own entityID.
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 voidprotected voidresolve(CriteriaSet criteria) private EntityDescriptorresolveEntityDescriptor(CriteriaSet criteria) Resolve the EntityDescriptor from the criteria.private StringresolveEntityID(CriteriaSet criteria) Resolve the entityID from the criteria.private RoleDescriptorresolveRoleDescriptor(CriteriaSet criteria) Resolve the RoleDescriptor from the criteria.resolveSingle(CriteriaSet 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, 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
getId
-
Field Details
-
log
@Nonnull private org.slf4j.Logger logLogger. -
rpcResolver
The RelyingPartyConfigurationResolver to which to delegate.
-
-
Constructor Details
-
CriteriaSelfEntityIDResolver
public CriteriaSelfEntityIDResolver()
-
-
Method Details
-
setId
- Specified by:
setIdin interfaceIdentifiableComponent- Overrides:
setIdin classAbstractIdentifiedInitializableComponent
-
doInitialize
- Overrides:
doInitializein classAbstractIdentifiedInitializableComponent- Throws:
ComponentInitializationException
-
doDestroy
protected void doDestroy()- Overrides:
doDestroyin classAbstractInitializableComponent