Uploaded image for project: 'PicketBox '
  1. PicketBox
  2. SECURITY-859

Authentication failure due to a login module misconfiguration is not reported if principal is null

    XMLWordPrintable

Details

    Description

      Any misconfiguration of a login module leading to authentication failure used to be reported at trace level for anonymous user (principal == null) until SECURITY-660. Right now it is reported at debug level, but only if principal != null.

      I am going to propose a fix to report the cause of such a failure at debug level despite the principal value. So that customers can see for example "javax.security.auth.login.LoginException: unable to find LoginModule class: ..." in their logs instead of "PBOX000016: Access denied" only.

      Attachments

        Activity

          People

            pskopek@redhat.com Peter Skopek
            istudens@redhat.com Ivo Studensky
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: