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

Custom node can prevent all default nodes appearing in admin view

    Details

    • Sprint:
      2018.16 - Tin
    • Verified Version/s:
    • Needs QA verification:
      No
    • Functional tests:
      No
    • Are the reproduction steps defined?:
      Yes and I used the same an in the description

      Description

      Bug description

      In some cases custom authentication nodes can cause a problem which stops all "out-of-the-box" authentication nodes appearing in the admin console.

      How to reproduce the issue

      1. an example node which triggers this is on ForgeRock marketplace here: https://github.com/ForgeRock/haveibeenpwned-auth-tree-node
      2. build the node and deploy to a AM 6.5 instance
      3. login to admin console, choose any tree and notice all standard nodes are missing from the chooser palette
       

      Work around

      For this particular node it seems the problem is caused by missing "public" statement on the Config object definition:

      change:

      interface Config {}

      to:

      public interface Config {}

      then recompile, deploy to fresh AM and all's well.

      The same custom node appears to work fine with AM 5.5 and 6.0 however.

       

      Code analysis

      OPTIONAL - If you already investigated the code, please share your finding here (remove this text)

       

        Attachments

          Activity

            People

            • Assignee:
              kajetan.hemzaczek Kajetan Hemzaczek
              Reporter:
              jon.knight@forgerock.com Jon Knight
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: