jglobus / JGlobus

jGlobus is a collection of Java client libraries for Globus® Toolkit security, GRAM, and GridFTP.
http://www.globus.org/toolkit/jglobus/
Apache License 2.0
24 stars 44 forks source link

Exception when trying to renew proxy - "Caused by: Unable to respond to server's authentication challenge. Unimplemented method: SASL". #97

Open thejkane opened 11 years ago

thejkane commented 11 years ago

In my code I am trying to renew my proxy credentials without giving password. My code looks like follows;

MyProxy myproxy = new MyProxy(this.myProxyHostname, this.myProxyPortNumber); GetParams getParams = new GetParams(); getParams.setAuthzCreds(credential); getParams.setUserName(this.myProxyUserName);

getParams.setWantTrustroots(true);

GSSCredential renewedCredentials = myproxy.get(credential, getParams);

Above code is failing with client side exception message,

"Caused by: Unable to respond to server's authentication challenge. Unimplemented method: SASL".

This is tested with jglobus 2.0.5 and 2.0.6-rc2.

Thanks Amila

jbasney commented 11 years ago

Discussion about this issue at https://groups.google.com/a/sciencegatewaysecurity.org/forum/#!topic/discuss/XxakfA5zLlI with Amila's patch attached at the bottom.