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

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

XMLWordPrintable

    • b147
    • Verified

      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").

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

              Created:
              Updated:
              Resolved: