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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 6
    • Affects Version/s: 6
    • Component/s: 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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: