Apache9 commented on pull request #1565: URL: https://github.com/apache/hbase/pull/1565#issuecomment-623789505
> The reason why OpenJDK does not need this for creating SaslClient is because it does not call secCtx.initSecContext() in the constructor of class com.sun.security.sasl.gsskerb.GssKrb5Client which is what gets called when Sasl.createSaslClient gets called with GSSAPI mech. Since OpenJDK uses SunSASL and IBM uses IBMSASL, I would imagine they are both different implementations and IBM SASL is possibly calling secCtx.initSecContext(). The stack trace show it is calling com.ibm.security.jgss.GSSManagerImpl.createContext which I would assume is something similar to secCtx.initSecContext() I think Josh is exactly asking why OpenJDK and IBMJDK use different implementations here. It's 'why', not 'how'... Thanks. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
