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

Device Save Node failed on Platform environment

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 7.0.0
    • 7.0.0
    • trees
    • Rank:
      1|i01m07:
    • Yes
    • Yes and I used the same an in the description

    Description

      Bug description

      With the forgeops environment, Device Save Node failed.

      How to reproduce the issue

      Expected behavior

      Successfully save the device profile

      Current behavior

      Got Exception

      Caused by: org.forgerock.openam.auth.node.api.NodeProcessException: User does not exist or inactive\n\tat org.forgerock.openam.auth.nodes.DeviceProfile.getUserIdentity(DeviceProfile.java:111)
      

      Code that generates the exception:

      AMIdentity userIdentity = coreWrapper.getIdentity(username, realm);
              if (userIdentity == null || !userIdentity.isExists() || !userIdentity.isActive()) {
                  throw new NodeProcessException("User does not exist or inactive");
              }
      

      The user can be authenticated and exists in Managed Identities with status active.

       Note: The Node works for AM standalone deployment, but not with the forgeops

      Code analysis

      Comments from Phill:

      • This is a case of using username instead of universal id

      Attachments

        Issue Links

          Activity

            People

              dipu.seminlal Dipu Seminlal
              andy.witrisna Andy Witrisna
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: