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 :)

I have the following in my pom.xml

<dependency>
     <groupId>org.apache.httpcomponents</groupId>
     <artifactId>httpcore</artifactId>
     <version>4.1.3</version>
   </dependency>
   <dependency>
     <groupId>org.apache.httpcomponents</groupId>
     <artifactId>httpclient</artifactId>
     <version>4.1.2</version>
   </dependency>

--
Arpit
[email protected]





Reply via email to