public interface Node
A node *must* not store any state in memory and should instead use the shared state mechanism for this.
Nodes are instantiated using dependency injection and can therefore use an @Inject
-annotated
constructor.
All concrete implementations of this class should be annotated with Node.Metadata
.
Modifier and Type | Interface and Description |
---|---|
static interface |
Node.Metadata
Annotation that describes the metadata of the node.
|
Modifier and Type | Method and Description |
---|---|
default org.forgerock.json.JsonValue |
getAuditEntryDetail()
Supply the additional detail to be logged with this node's completion event.
|
Action |
process(TreeContext context)
Performs processing on the given shared state, which holds all the data gathered by nodes that have already
executed as part of this authentication session in the tree.
|
Action process(TreeContext context) throws NodeProcessException
This method is invoked when the node is reached in the tree.
context
- The context of the tree authentication.NodeProcessException
- If there was a problem processing that could not be resolved to a single outcome.default org.forgerock.json.JsonValue getAuditEntryDetail()
Copyright © 2010-2017, ForgeRock All Rights Reserved.