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

GSSException should be thrown when the imported context has a different mech than the MechFactory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 6
    • security-libs
    • None
    • beta
    • sparc
    • solaris

      Currently, the mechanism factory(MF) impl from native GSS provider returns a context object even when the context object has a different mechanism than the mechanism that MF impl is registered under. Although the returned context object has all the correct info and mechanism, however, such behavior is misleading. Instead, the MF impl should be fixed to throw GSSException if the mechanism of the imported context does not match its own.

      In addition, when importing an interprocess context token, JGSS framework would iterate through *all* available mechanisms (and their MFs) regardless the result of importing. This should be changed to breaking out of the loop upon success.
      ###@###.### 2005-07-15 19:18:56 GMT

            valeriep Valerie Peng
            valeriep Valerie Peng
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: