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

PolicySetCache gets corrupted when the realm name contains upper case characters

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0.0
    • Fix Version/s: 6.0.0, 14.1.2, 5.5.2
    • Component/s: policy
    • Labels:
      None
    • Needs backport:
      Yes
    • Verified Version/s:
    • Needs QA verification:
      Yes
    • Functional tests:
      No
    • Are the reproduction steps defined?:
      Yes and I used the same an in the description

      Description

      Bug description

      PolicySetCache does not correctly clean up the cache upon realm deletion, meaning that old policy sets can stick around in the cache.

      How to reproduce the issue

      • create realm foo
      • create a policy set in realm foo
      • delete realm foo
      • create realm foo
      • at this point REST calls to retrieve the policyset will still work even though the policy set does not actually exist any more.
      Expected behaviour

      The cache is cleared when a realm is deleted.

      Current behaviour

      It isn't.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                peter.major Peter Major [X] (Inactive)
                Reporter:
                peter.major Peter Major [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: