On Fri, 2011-10-28 at 10:15 -0700, Arpit Gupta wrote:
> Hi All,
> 
> I am trying to get httpclient and kerberos authentication to work.
> 
> I have been looking at the file
> 
> src/examples/org/apache/http/examples/client/ClientKerberosAuthentication.java
> 
> and have a few questions.
> 
> 1. I cant quite figure out in the above example how the kerberos credentials 
> are being provided 
> 2. If i were to assume that user has already done a kinit on the system is 
> there a way to read the system cache to generate the appropriate headers for 
> the http call.
> 
> This is my first time working with kerberos so if i am missing something 
> obvious please let me know :)
> 

Have you looked at the HttpClient tutorial? 

http://hc.apache.org/httpcomponents-client-ga/tutorial/html/authentication.html#spnego

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to