Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-13184

Documentation: Node plugin example class may need updating

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 6.0.0, 6.5.0
    • Fix Version/s: None
    • Component/s: documentation
    • Labels:
    • Support Ticket IDs:

      Description

      https://backstage.forgerock.com/docs/am/6/authentication-guide/index.html#develop-custom-auth-nodes-plugin

      The example class 'myCustomAuthNodePlugin' differs from the output of archetype:generate and includes a deprecated method, pluginTools.registerAuthNode().

      So this is not correct.

      The following example is from the plugin class taken from a project generated by the auth-tree-node-archetype archetype:

       

      To see the difference, run the mvn archetype:generate command given in the documentation and compare the example in documentation with customAuthNode/src/main/java/com/example/customAuthNode/myCustomAuthNodePlugin.java

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chris.lee Chris Lee
                Reporter:
                andrew.dunn Andrew Dunn [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: