Oleg,
I contributed some code myself to make Kerberos work
https://issues.apache.org/jira/browse/HTTPCLIENT-523
I have no issues porting it. Issue is that now AuthPolicy does not
support API to register any other auth scheme like it did before.
http://hc.apache.org/httpcomponents-client/httpclient/apidocs/index.html
in 4.0 b2.
In 3.x -- http://hc.apache.org/httpclient-3.x/apidocs/index.html
You gave an option to register another schema and that way at least let
developers write their authenticate method for that scheme. Now that
extensibility is lost.

Please correct me if I am wrong.

Thanks,
Pankaj Arora
p.s: Will be more than happy to contribute in helping out with Kerberos
and we are using Kerberos successfully in our product using Http Client.


-----Original Message-----
From: Oleg Kalnichevski [mailto:[email protected]] 
Sent: Saturday, January 24, 2009 4:06 AM
To: HttpComponents Project
Subject: Re: FW: HttpClient authentication problem.

Pankaj Arora wrote:
> Hi,
> We in our product support Kerberos auth scheme and while using 3.x
version of HttpClient we did that by registering Kerberos scheme with
the AuthPolicy class.
> In 4.x Api I see no way to register the schemes we might want to
implement and support. It looks like other than Basic,Digest and NTLM we
cannot support any other auth scheme.
> 
> Is that right?
> 

Pankaj,

SPNEGO scheme is also unsupported in HttpClient 3.x. There exists an 
unofficial implementation contributed by a third party developer who is 
no longer there to support it [1]. This is the reason why it was not 
included in HttpClient 4.0. There is simply no one around both capable 
and willing to support SPNEGO.

Feel free to port it to the 4.0 API, if you have a need for it.

Oleg

[1] 
http://svn.apache.org/repos/asf/httpcomponents/oac.hc3x/trunk/src/contri
b/org/apache/commons/httpclient/contrib/auth/




> Thanks,
> Pankaj Arora
> 
> 

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


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

Reply via email to