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

Audit log 'Configuration' entries are not written when using external configuration store

    XMLWordPrintable

    Details

    • Sprint:
      AM Sustaining Sprint 36
    • Story Points:
      2
    • Needs backport:
      No
    • Support Ticket IDs:
    • 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

      Steps to reproduce.

      1. Install OpenAM with an external configuration store.
      https://backstage.forgerock.com/docs/openam/13.5/install-guide#prepare-configuration-store

      2. Create a new realm while watching logs/config.csv. Nothing is written.

      Expected result:
      If using embedded configuration, config.csv will have entries such as:

      ==> config.csv <==
      "979d97bf-f670-4b10-b6da-4130bd1e4683-2135","2017-01-26T16:38:13.966Z","AM-CONFIG-CHANGE","979d97bf-f670-4b10-b6da-4130bd1e4683-2133",,,"id=amadmin,ou=user,dc=openam,dc=forgerock,dc=org","o=newrealm1,ou=services,dc=openam,dc=forgerock,dc=org","CREATE",,,,,,"/newrealm1"
      

      The reason appears to be that com.sun.identity.sm.ldap.SMSEmbeddedLdapObject uses the audit framework, while com.sun.identity.sm.ldap.SMSLdapObject does not.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sachiko Sachiko Wallace
                Reporter:
                andrew.dunn Andrew Dunn [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: