[prev in list] [next in list] [prev in thread] [next in thread]
List: httpclient-users
Subject: Re: httpcient and kerberos authentication
From: Arpit Gupta <g.arpit () gmail ! com>
Date: 2011-10-28 21:57:21
Message-ID: CD503AA8-0E5A-4B01-A452-F5A41FB4176E () gmail ! com
[Download RAW message or body]
Hi Oleg
I did read the tutorial and i tried the sample code and it retires the request when \
the sever responds with a 401 and negotiate request but the new request does not have \
the appropriate header. I need to determine how to generate appropriate credentials \
and/or token that http client can use to send the appropriate header. Still trying to \
investigate how to go about doing that.
--
Arpit
g.arpit@gmail.com
On Oct 28, 2011, at 12:08 PM, Oleg Kalnichevski wrote:
> 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: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic