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 | Method and Description |
---|---|
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.Copyright © 2010-2020, ForgeRock All Rights Reserved.