You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by mleiria <ma...@gmail.com> on 2010/02/08 11:15:29 UTC
WWW-Authenticate Header returning Kerberos
Hello,
I'm facing the next problem:
I'm trying to consume a web service kerberized from iis. The problem is that
the iis administrators don't want the mechanism fall back to ntlm so de
"disabled" ntlm, which means that the authentication header is returning
"kerberos" instead of "Negotiate". and the http client is not working. Does
anyone developed some solution like this?
thanks in advance,
mleiria
--
View this message in context: http://old.nabble.com/WWW-Authenticate-Header-returning-Kerberos-tp27497747p27497747.html
Sent from the HttpClient-User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org
Re: WWW-Authenticate Header returning Kerberos
Posted by Oleg Kalnichevski <ol...@apache.org>.
On Mon, 2010-02-08 at 02:15 -0800, mleiria wrote:
> Hello,
> I'm facing the next problem:
> I'm trying to consume a web service kerberized from iis. The problem is that
> the iis administrators don't want the mechanism fall back to ntlm so de
> "disabled" ntlm, which means that the authentication header is returning
> "kerberos" instead of "Negotiate". and the http client is not working. Does
> anyone developed some solution like this?
>
> thanks in advance,
> mleiria
Try registering NegotiateSchemeFactory for 'kerberos' auth scheme and
see if you get lucky
DefaultHttpClient httplclient = new DefaultHttpClient();
httplclient.getAuthSchemes().register("kerberos", new
NegotiateSchemeFactory());
Oleg
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org