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

The failure reason of an optional JAAS LoginModule is not logged

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: security-libs
    • Labels:
      None

      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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              weijun Weijun Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: