Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-5714

Add quotation marks around the username in the Crowd logs when logging a failed authentication

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Summary

      When a user fails to authenticate against a directory due to an incorrect username/password combination, an INFO message like this appears in the logs.

      2021-06-04 15:34:21,101 http-nio-8095-exec-12 INFO [crowd.manager.application.ApplicationServiceGeneric] Invalid credentials for user admin  in directory Active Directory (999999), aborting
      

      Suggestion

      Some administrators may want to troubleshoot the issue through the logs and in the case of the example above, the login failed not due to an incorrect password, but an extra space after the username (e.g. "admin ").

      It's not immediately clear to the admin that this is the case because it's easily overlooked. Therefore, it would be great if the username in the INFO message could be quoted like this:

      2021-06-04 15:34:21,101 http-nio-8095-exec-12 INFO [crowd.manager.application.ApplicationServiceGeneric] Invalid credentials for user 'admin ' in directory Active Directory (999999), aborting
      

      Attachments

        Issue Links

          Activity

            People

              e5b980069724 Rostyslav Shurukhin
              azolkefli Athirah Zolkefli
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: