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
Post a Comment