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

The failure reason of an optional JAAS LoginModule is not logged

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: