public class GenerateIdStage extends BaseIteratingStage<Element>
| Modifier and Type | Field and Description |
|---|---|
static QName |
ID_ATTRIB
QName of the ID attribute added to the descriptor.
|
private net.shibboleth.utilities.java.support.security.IdentifierGenerationStrategy |
idGenerator
Strategy used to generate identifiers.
|
| Constructor and Description |
|---|
GenerateIdStage()
Constructor.
|
GenerateIdStage(net.shibboleth.utilities.java.support.security.IdentifierGenerationStrategy generator)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doExecute(Item<Element> item)
Processes a given Item.
|
doExecuteexecute, getCollectionPredicate, setCollectionPredicatesetIddoInitialize, getIddestroy, doDestroy, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, isDestroyedpublic static final QName ID_ATTRIB
private final net.shibboleth.utilities.java.support.security.IdentifierGenerationStrategy idGenerator
public GenerateIdStage()
idGenerator to a Type4UUIDIdentifierGenerationStrategy.public GenerateIdStage(@Nonnull net.shibboleth.utilities.java.support.security.IdentifierGenerationStrategy generator)
generator - ID generation strategy usedprotected boolean doExecute(@Nonnull Item<Element> item) throws StageProcessingException
doExecute in class BaseIteratingStage<Element>item - Item on which to operateStageProcessingException - thrown if there is a problem with the stage processingCopyright © 1999–2016. All rights reserved.