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

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

    XMLWordPrintable

Details

    • b147
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: