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

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

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

php - Cloud9 cloud IDE and CakePHP -