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

GSSUtil.createSubject has outdated access control context and policy related text

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P4 P4
    • 25
    • security-libs
    • None
    • behavioral
    • minimal
    • Java API
    • JDK

      Summary

      Remove outdated access control context and policy related text from the com.sun.security.jgss.GSSUtil.createSubject method.

      Problem

      The text is no longer correct now that JEP 486 disabled the Security Manager.

      Solution

      Remove the outdated access control context and policy related text.

      Specification

      Replace the following sentences from the GSSUtil.createSubject method description:

      "Typically this would be done by a server that wants to impersonate a client thread at the Java level by setting a client Subject in the current access control context. If the server is merely interested in using a principal based policy in its local JVM, then it only needs to provide the GSSName of the client."

      with:

      "Typically this would be used by a server that wants to impersonate a client."

            mullan Sean Mullan
            mullan Sean Mullan
            Weijun Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: