Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-4280

DB2: Passthrough authentication failed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: OpenIDM 4.0.0
    • Fix Version/s: OpenIDM 4.0.0
    • Labels:
    • Environment:
      OpenIDM build 603 runs on a CentOS with DB2 as repo

      Description

      Used sample2 as base, after reconed user from DJ to managed, the following login failed.

      curl --header "X-OpenIDM-Username: jdoe" --header "X-OpenIDM-Password: password" --request GET "http://localhost:8080/openidm/info/login"
      
      Response Content: {"code":400,"reason":"Bad Request","message":"Missing entry in params passed to query for token linkQualifier","detail":{"failureReasons":[{"exception":"Missing entry in params passed to query for token linkQualifier"}]},"cause":{"message":"Wrapped org.forgerock.json.resource.BadRequestException: Missing entry in params passed to query for token linkQualifier (/home/testuser/Downloads/openidm/bin/defaults/script/auth/populateAsManagedUser.js#69) in /home/testuser/Downloads/openidm/bin/defaults/script/auth/populateAsManagedUser.js at line number 69 at column number 0"}}
      at line 69 of the populateAsManagedUser.js, it has
      managedUserId = openidm.query("repo/link", {
                  "_queryId": "links-for-firstId",
                  "linkType": properties.managedUserLink,
                  "firstId" : userDetail.result[0]._id
              });
      
      

        Attachments

          Activity

            People

            Assignee:
            jim.mitchener Jim Mitchener
            Reporter:
            Tinghua.Xu Tinghua Xu
            QA Assignee:
            Tinghua Xu Tinghua Xu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: