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

Failure reason was not printed in audit log for "User Not Found" case

    Details

    • Sprint:
      AM Sustaining Sprint 31, AM Sustaining Sprint 32
    • Story Points:
      2

      Description

      In amAuthentication.error/authentication.csv log of OpenAM, it does not log the failure reason if user is not found in LDAP and DataStore auth module. In InvalidPassword error case, failureReason will be printed as below :

      "08fd97ad-cfd7-4ff6-bcaa-4bdcb4adbb61-59127","2016-11-21T21:18:02.529Z","AM-LOGIN-COMPLETED","08fd97ad-cfd7-4ff6-bcaa-4bdcb4adbb61-59123","id=demo,ou=user,dc=openam,dc=forgerock,dc=org","[""7838d201be3feae201""]","FAILED","[""demo""]",,"[{""moduleId"":""LDAP"",""info"":{""authLevel"":""0"",{color:red}*""failureReason"":""INVALID_PASSWORD""*{color},""authIndex"":""module_instance"",""ipAddress"":""127.0.0.1""}}]","Authentication","/"
      

      Current behavior for when user is not found :

      "08fd97ad-cfd7-4ff6-bcaa-4bdcb4adbb61-59138","2016-11-21T22:04:09.601Z","AM-LOGIN-MODULE-COMPLETED","08fd97ad-cfd7-4ff6-bcaa-4bdcb4adbb61-59135","",,"FAILED","[""testtesttest""]",,"[{""moduleId"":""LDAP"",""info"":{""authControlFlag"":""REQUIRED"",""authLevel"":""0"",""moduleClass"":""LDAP"",""authIndex"":""module_instance"",""ipAddress"":""127.0.0.1""}}]","Authentication","/"
      

      This is related to OPENAM-9983.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sachiko Sachiko Wallace
                Reporter:
                sachiko Sachiko Wallace
                QA Assignee:
                Filip Kubáň [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: