JGSS: Don't dispose() of creds too eagerly

XMLWordPrintable

    • b19
    • Not verified

      We must not dispose() of any credential handle passed to the
      NativeGSSContext() constructor. But we must dispose() of credentials
      that are acquired in NativeGSSContext.

      This is very important because the JVM does not know about the size of
      the JNI credential objects, so it doesn't readily recognize memory
      pressure from them, leading to memory pressure issues in SASL and GSS
      server applications.

            Assignee:
            Weijun Wang
            Reporter:
            Weijun Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: