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

Receiving delegated credential causes IllegalArgumentException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • security-libs
    • None
    • beta
    • generic, sparc
    • solaris_8

      Delegating a credential to a server causes the server side acceptSecContext to throw an exception:

      Krb5Module username(mdu): sample/vishwas.eng.sun.com
      Krb5Module password for user (sample/vishwas.eng.sun.com): bogus
      Waiting for incoming connection...
      Got connection from client /129.144.124.222
      Will read input token of size 2378 for processing by acceptSecContext
      java.security.PrivilegedActionException
      ...
      ...
      Caused by: java.lang.IllegalArgumentException: Authentication time of ticket
      cannot be null
              at
      javax.security.auth.kerberos.KerberosTicket.init(KerberosTicket.java:185)
              at
      javax.security.auth.kerberos.KerberosTicket.<init>(KerberosTicket.java:128)
              at
      sun.security.jgss.krb5.Krb5InitCredential.<init>(Krb5InitCredential.java:107)
              at
      sun.security.jgss.krb5.Krb5InitCredential.getInstance(Krb5InitCredential.java:187
      )
              at
      sun.security.jgss.krb5.InitSecContextToken.<init>(InitSecContextToken.java:110)
              at
      sun.security.jgss.krb5.Krb5Context.acceptSecContext(Krb5Context.java:579)
              at
      sun.security.jgss.GSSContextImpl.acceptSecContext(GSSContextImpl.java:303)
              at
      sun.security.jgss.GSSContextImpl.acceptSecContext(GSSContextImpl.java:249)
              at SampleServer.main(SampleServer.java:85)
              ... 5 more

            mupadhyasunw Mayank Upadhyay (Inactive)
            mupadhyasunw Mayank Upadhyay (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: