Uses of Class
org.forgerock.openam.auth.node.api.Action.ActionBuilder
Packages that use Action.ActionBuilder
-
Uses of Action.ActionBuilder in org.forgerock.openam.auth.node.api
Methods in org.forgerock.openam.auth.node.api that return Action.ActionBuilderModifier and TypeMethodDescriptionAction.ActionBuilder.addNodeType(TreeContext context, String authName) Update the NodeType session property, and the NodeType sharedState value.Action.ActionBuilder.addSessionHook(Class<? extends TreeHook> sessionHook, UUID nodeId, String nodeType) Sets a class that will be run after successful login.Action.ActionBuilder.addSessionHook(Class<? extends TreeHook> sessionHook, UUID nodeId, String nodeType, int nodeVersion) Sets a class that will be run after successful login.Action.ActionBuilder.addSessionHook(Class<? extends TreeHook> sessionHook, UUID nodeId, String nodeType, int nodeVersion, JsonValue data) Sets a class that will be run after successful login.Action.ActionBuilder.addSessionHooks(List<JsonValue> sessionHooks) Adds session hooks to the list.Action.ActionBuilder.addWebhook(String webhookName) Adds a webhook to the list.Action.ActionBuilder.addWebhooks(List<String> webhooks) Adds webhooks to the list.protected Action.ActionBuilderAbstractDecisionNode.goTo(boolean outcome) Move on to the next node in the tree that is connected to the given outcome.static Action.ActionBuilderMove on to the next node in the tree that is connected to the given outcome.protected Action.ActionBuilderSingleOutcomeNode.goToNext()Move on to the next node in the tree.Action.ActionBuilder.putSessionProperty(String key, String value) Add a new session property.Action.ActionBuilder.registerLogoutHook(Class<? extends LogoutHook> logoutHook, JsonValue data) Registers a logout hook.Action.ActionBuilder.removeSessionProperty(String key) Remove a previously set session property.Action.ActionBuilder.replaceSharedState(JsonValue sharedState) Deprecated, for removal: This API element is subject to removal in a future version.Action.ActionBuilder.replaceTransientState(JsonValue transientState) Deprecated, for removal: This API element is subject to removal in a future version.useNodeStateinstead, setting state in the action is no longer required.static Action.ActionBuilderSend the given callbacks to the user for them to interact with.static Action.ActionBuilderSend the given callbacks to the user for them to interact with.static Action.ActionBuilderAction.suspend(SuspensionHandler suspensionHandler) Suspend the current authentication request, and allow the end-user to resume it later by clicking on a link for example.static Action.ActionBuilderAction.suspend(SuspensionHandler suspensionHandler, Duration duration) Suspend the current authentication request, and allow the end-user to resume it later by clicking on a link for example.Action.ActionBuilder.withDescription(String description) Set a description for this action.Action.ActionBuilder.withErrorMessage(String errorMessage) Sets the error message to present to the caller when the FAILURE node is reached.Action.ActionBuilder.withHeader(String header) Set a header for this action.Action.ActionBuilder.withIdentifiedIdentity(AMIdentity identity) Set the identified identity that has been verified to exist in an identity store.Action.ActionBuilder.withIdentifiedIdentity(String username, IdType identityType) Set the identified identity that has been verified to exist in an identity store.Action.ActionBuilder.withLockoutMessage(String lockoutMessage) Sets the error message to present to the caller when the user is locked out.Action.ActionBuilder.withMaxIdleTime(Duration maxIdleTime) Set the maximum idle time for the user.Action.ActionBuilder.withMaxSessionTime(Duration maxSessionTime) Set the maximum session time for the user.Action.ActionBuilder.withMaxTreeDuration(Duration maxTreeDuration) Set the maximum tree duration.Set a stage for this action.Action.ActionBuilder.withUniversalId(String universalId) Deprecated, for removal: This API element is subject to removal in a future version.Action.ActionBuilder.withUniversalId(Optional<String> universalId) Deprecated, for removal: This API element is subject to removal in a future version.
NodeStateinstead, setting state in the action is no longer required.