Attaching kerberos to apache httpclient in java -


i have kerberos token me , want attach httpclient request in java. know how attach basic credentials. want attach kerberos token instead:

client.getstate().setcredentials( new authscope(authscope.any),      new usernamepasswordcredentials("username", "password") ); 

the entire gss-api code under rewrite. meanwhile (not tested), can pass gsscredential kerberoscredentials object.


Comments

Popular posts from this blog

angularjs - Showing an empty as first option in select tag -

qt - Change color of QGraphicsView rubber band -

c++ - Visible files in the "Projects" View of the Qt Creator IDE if using the CMake build system -