Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8215916

The failure reason of an optional JAAS LoginModule is not logged

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 20
    • None
    • security-libs
    • b12
    • Verified

    Description

      In JAAS, if a LoginModule is optional and it fails, there is only one debug line printed (if -Djava.security.debug=logincontext):

      [LoginContext]: login OPTIONAL failure

      It would be nice to print out more information (Ex: stack trace of an exception) so the developer has a better understanding on what the reason is.

      Attachments

        Issue Links

          Activity

            People

              weijun Weijun Wang
              weijun Weijun Wang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: