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

SMS*LdapObject entriesPresent/NotPresent caches are access inconsistently

    Details

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

      Description

      Bug description

      The caches use the lowercase DN as keys, however the caches are also accessed with mixed case DNs at times, preventing it to work correctly.

      There is also a bug in the entryExists implementation: upon cache miss it checks the presence of the entry using the lowercase DN, which may not work correctly if the configstore root suffix uses attributes that are matched in a case sensitive manner.

      How to reproduce the issue

      Don't really have reproduction steps for this one.

      Expected behaviour

      The caches are accessed consistently.

      Current behaviour

      They aren't.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: