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

Unable to login to Admin console after setting enableDynamicRoles==true

    Details

    • Target Version/s:
    • Verified Version/s:

      Description

      Toggling "enableDynamicRoles" : true within a OOTB install of IDM 7.0.x (5a1c4fdf4f) results in a NPE and failure to login to the admin console.

      [329] Jul. 29, 2020 1:54:47.317 P.M. org.forgerock.http.servlet.HttpFrameworkServlet lambda$service$1
       SEVERE: RuntimeException caught - rootId:ecd42afa-3051-404d-a0a8-a224fa5442ff-950
       java.lang.NullPointerException
       at org.forgerock.openidm.router.filter.QueryIdToQueryFilterTransformFilter.hasTransform(QueryIdToQueryFilterTransformFilter.java:278)
       at org.forgerock.openidm.router.filter.QueryIdToQueryFilterTransformFilter.filterQuery(QueryIdToQueryFilterTransformFilter.java:257)
       at org.forgerock.json.resource.FilterChain$Cursor.handleQuery(FilterChain.java:92)

       
      It appears we may have a bug here: https://stash.forgerock.org/projects/OPENIDM/repos/openidm/browse/openidm-authnfilter/src/main/java/org/forgerock/openidm/auth/impl/modules/IDMAuthModuleWrapper.java#339. Calling UserDetailQueryBuilder.build() may return a null QueryRequest and we ought to be handling that case.
       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                katie.gonzalez Katie Gonzalez
                Reporter:
                cgdrake Chris Drake
                QA Assignee:
                Julian Keller
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: