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

requestCredDeleg=true, but getCredDelegState and getDelegCred return error in SunNativeGSS provider

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • security-libs
    • None
    • beta
    • generic
    • solaris_10
    • Verified

      Using SunNativeGSS provider, initiator create a security context , and set requestCredDeleg=true. After a security context has been established, on server side,
      getCredDelegState() will return false.
      And if acceptor call getDelegCred() directly, it will throw NullPointerException.
      Please see:
      ERROR: java.lang.NullPointerException
      java.lang.NullPointerException
              at sun.security.jgss.GSSCredentialImpl.<init>(GSSCredentialImpl.java:94)
              at sun.security.jgss.GSSContextImpl.getDelegCred(GSSContextImpl.java:618)
              at Server.impersonateClient(Server.java:220)
              at Server.run(Server.java:113)
              at java.lang.Thread.run(Thread.java:603)

      ###@###.### 2005-07-05 08:53:07 GMT

            valeriep Valerie Peng
            jgaosunw Judy Gao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: