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

KerberosTicket methods should be made thread safe

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • 18
    • 5.0
    • security-libs
    • None

      Currently KerberosTicket methods are not thread safe and requires
      external synchronization. External locking is mostly advantages if one
      application/library is in control of all threads accessing the
      resource, which is not likely to be the norm for KerberosTicket.
      Multiple parties, including the login module, jgss module, and the
      application can have threads accessing the ticket content, they need
      to synchronize on the same lock. The usage pattern suggests internal
      locking might be a better choice.

            weijun Weijun Wang
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: