Interface TreeHook


@SupportedAll public interface TreeHook
A TreeHook encapsulates some functionality that should be executed at the end of a tree, after authentication. They can be added by nodes.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static @interface 
    Annotation that describes the metadata of the node.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Arguments for the session hook.
    static final String
    Node config key.
    static final String
    Node ID key.
    static final String
    Node type key.
    static final String
    Session hook class key.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Main method that will contain the logic that needs to be executed when the session hook is called.
    default void
    Main method that will contain the logic that needs to be executed on tree failure.
  • Field Details

  • Method Details

    • accept

      void accept() throws org.forgerock.openam.auth.node.api.TreeHookException
      Main method that will contain the logic that needs to be executed when the session hook is called.
      Throws:
      org.forgerock.openam.auth.node.api.TreeHookException - if an exception occurs.
    • acceptFailure

      default void acceptFailure() throws org.forgerock.openam.auth.node.api.TreeHookException
      Main method that will contain the logic that needs to be executed on tree failure.
      Throws:
      org.forgerock.openam.auth.node.api.TreeHookException - if an exception occurs.