abdera-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Woody Anderson" <wo...@xoopit.com>
Subject AuthPolicy
Date Mon, 17 Dec 2007 19:24:59 GMT
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