Uploaded image for project: 'Keycloak'
  1. Keycloak
  2. KEYCLOAK-8655

Authorization: Add policy results in NPE

    XMLWordPrintable

    Details

    • Steps to Reproduce:
      Hide

      On a newly created realm
      On a newly created client
      Setup the client as resource server (confidential, client credentials grant enabled)
      Enable fine grained authorization
      Create a resource

      =============

      In Event / Config, enable Save Admin Events

      ==============
      Try adding a policy (policy type does not really matter)

      => fail (logs show a null pointer exception)

      ================

      In Event config, disable save events

      ====

      Try again to create the policy

      => this works now

      Show
      On a newly created realm On a newly created client Setup the client as resource server (confidential, client credentials grant enabled) Enable fine grained authorization Create a resource ============= In Event / Config, enable Save Admin Events ============== Try adding a policy (policy type does not really matter) => fail (logs show a null pointer exception) ================ In Event config, disable save events ==== Try again to create the policy => this works now
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      Adding a new policy when admin events are saved fail wih a null pointer exception

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pcraveiro Pedro Igor Silva
                  Reporter:
                  fredbi Frédéric BIDON
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: