Package net.shibboleth.metadata.dom.saml
Class RemoveOrganizationStage
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
net.shibboleth.metadata.pipeline.AbstractStage<T>
net.shibboleth.metadata.pipeline.AbstractIteratingStage<Element>
net.shibboleth.metadata.dom.saml.RemoveOrganizationStage
- 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
Filtering stage that removes Organization elements from EntityDescriptors.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Processes a givenItem
.protected void
processEntitiesDescriptor
(Element entitiesDescriptor) Iterates over all child EntitiesDescriptor, passing each toprocessEntitiesDescriptor(Element)
, and EntityDescriptor, passing each toprocessEntityDescriptor(Element)
.protected void
processEntityDescriptor
(Element entityDescriptor) Processes an EntityDescriptor by removing any Organization that is within it.Methods inherited from class net.shibboleth.metadata.pipeline.AbstractIteratingStage
doExecute
Methods inherited from class net.shibboleth.metadata.pipeline.AbstractStage
execute, getCollectionPredicate, setCollectionPredicate
Methods inherited from class net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
setId
Methods inherited from class net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
doInitialize, ensureId, getId, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentException
Methods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, doDestroy, initialize, isDestroyed, isInitialized
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.shibboleth.shared.component.DestructableComponent
destroy, isDestroyed
Methods inherited from interface net.shibboleth.shared.component.IdentifiedComponent
getId
Methods inherited from interface net.shibboleth.shared.component.InitializableComponent
initialize, isInitialized
-
Field Details
-
LOG
@Nonnull private static final org.slf4j.Logger LOGClass logger.
-
-
Constructor Details
-
RemoveOrganizationStage
public RemoveOrganizationStage()
-
-
Method Details
-
doExecute
Description copied from class:AbstractIteratingStage
Processes a givenItem
.- Specified by:
doExecute
in classAbstractIteratingStage<Element>
- Parameters:
item
-Item
on which to operate- Throws:
StageProcessingException
- thrown if there is a problem with the stage processing
-
processEntitiesDescriptor
Iterates over all child EntitiesDescriptor, passing each toprocessEntitiesDescriptor(Element)
, and EntityDescriptor, passing each toprocessEntityDescriptor(Element)
.- Parameters:
entitiesDescriptor
- EntitiesDescriptor being processed
-
processEntityDescriptor
Processes an EntityDescriptor by removing any Organization that is within it.- Parameters:
entityDescriptor
- entity descriptor being processed
-