abdera-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James M Snell <jasn...@gmail.com>
Subject Re: AuthPolicy
Date Tue, 18 Dec 2007 16:09:07 GMT
I just committed this change to the trunk.

- James

Woody Anderson wrote:
> Hello,
> 
> I would like to request that more of the HttpClient aspects of abdera
> be exposed through the client.
> 
> there is currently a method:
> 
> AbderaClient.registerScheme( name, authClass );
> 
> but no unregisterSchema
> 
> this is implemented in terms of a static call to:
> 
> org.apache.commons.httpclient.auth.AuthPolicy.registerSchema
> 
> which is kind of odd but it is nice encapsulation, if there were also
> the reverse operation.
> 
> i'm doing this basically to disable by default "basic" auth, which is
> dangerous (always) but particularly with preemptive auth and wel..
> non-ssl etc.
> 
> i'm currently sovling this with direct calls to AuthPolicy, but
> perhaps there should be a do/undo wrapper for this method as well.
> -w
> 

Mime
View raw message