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

Add a new method: java.net.Authenticator.getDefault()

    Details

    • Subcomponent:
    • Resolved In Build:
      b147
    • Verification:
      Verified

      Description

      Some classes in the JDK (jdk.xml.bind) are using reflection and Field.setAccessible to get the default authenticator.

      We propose to add a new public method to get the default, and to protect that with a NetPermission("requestPasswordAuthentication").

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dfuchs Daniel Fuchs
                Reporter:
                dfuchs Daniel Fuchs
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: