Package net.shibboleth.metadata.dom.saml
Class EntitiesDescriptorDisassemblerStage
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
net.shibboleth.metadata.pipeline.AbstractStage<Element>
net.shibboleth.metadata.dom.saml.EntitiesDescriptorDisassemblerStage
- All Implemented Interfaces:
Stage<Element>,net.shibboleth.shared.component.Component,net.shibboleth.shared.component.DestructableComponent,net.shibboleth.shared.component.IdentifiableComponent,net.shibboleth.shared.component.IdentifiedComponent,net.shibboleth.shared.component.InitializableComponent
A pipeline stage that replaces any SAML EntitiesDescriptor found in the Item collection with the EntityDescriptor
elements contained therein.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidPerforms the stage processing on the given Item collection.protected voidprocessEntitiesDescriptor(List<Item<Element>> items, Element entitiesDescriptor) Processes an EntitiesDescriptor element.protected voidprocessEntityDescriptor(List<Item<Element>> items, Element entityDescriptor) Processes an EntityDescriptor element.Methods inherited from class net.shibboleth.metadata.pipeline.AbstractStage
execute, getCollectionPredicate, setCollectionPredicateMethods inherited from class net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
setIdMethods inherited from class net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
doInitialize, 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.DestructableComponent
destroy, isDestroyedMethods inherited from interface net.shibboleth.shared.component.IdentifiedComponent
getIdMethods inherited from interface net.shibboleth.shared.component.InitializableComponent
initialize, isInitialized
-
Field Details
-
LOG
@Nonnull private static final org.slf4j.Logger LOGClass logger.
-
-
Constructor Details
-
EntitiesDescriptorDisassemblerStage
public EntitiesDescriptorDisassemblerStage()
-
-
Method Details
-
doExecute
Description copied from class:AbstractStagePerforms the stage processing on the given Item collection.The stage is guaranteed to be have been initialized and not destroyed when this is invoked.
- Specified by:
doExecutein classAbstractStage<Element>- Parameters:
items- collection to be processed
-
processEntitiesDescriptor
protected void processEntitiesDescriptor(@Nonnull @NonnullElements List<Item<Element>> items, @Nonnull Element entitiesDescriptor) Processes an EntitiesDescriptor element. All child EntityDescriptor elements are processed and EntitiesDescriptors are run back through this method.- Parameters:
items- collection to which EntityDescriptor metadata elements are addedentitiesDescriptor- the EntitiesDescriptor to break down
-
processEntityDescriptor
protected void processEntityDescriptor(@Nonnull @NonnullElements List<Item<Element>> items, @Nonnull Element entityDescriptor) Processes an EntityDescriptor element. Creates aDOMElementItemelement and adds it to the item collections.- Parameters:
items- collection to which metadata is addedentityDescriptor- entity descriptor to add to the item collection
-