hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikael Wikström <w...@it.su.se>
Subject Re: SPNEGO support in httpclient
Date Wed, 03 Aug 2005 13:19:18 GMT

No, not yet. I'l have a look at it, but I don't think it solves my problem.

 / Mikael

Oleg Kalnichevski wrote:

>Hi Mikael,
>
>Have you looked at the CredentialsProvider interface as an alternative?
>
>http://svn.apache.org/viewcvs.cgi/jakarta/commons/proper/httpclient/trunk/src/examples/InteractiveAuthenticationExample.java?view=markup
>
>Oleg
>
>On Wed, Aug 03, 2005 at 02:02:38PM +0200, Mikael Wikstr?m wrote:
>  
>
>>Hi,
>>
>>I'm writing to add spnego support to httpclient 3.0 and need of some 
>>advice.
>>
>>I started by writing a NegotiateScheme implementing AuthScheme and using 
>>org.ietf.jgss and jaas for authentication. But as a went on I realized 
>>that the AuthScheme.authenticate  is never called if no credentials are 
>>provided thru org.apache.commons.httpclient.Credentials. I can program 
>>around this by adding NegotiateDummyCredentials but this is not a very 
>>god solution. Can this be done in a better way so that the code get more 
>>structure? In tha case of jaas, credentials are provided thru a Subject. 
>>see 
>>http://www11.informatik.tu-muenchen.de/Java/j2sdkse/guide/security/jgss/tutorials/ClientServer.html
>>
>>references:
>>http://www.ietf.org/internet-drafts/draft-jaganathan-kerberos-http-00.txt
>>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsecure/html/http-sso-2.asp
>>
>>
>>Regards
>>/ Mikael Wikstrom
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org
>>    
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org


Mime
View raw message