|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Pluggable authentication and OAuth support in ProponoI have added pluggable authentication support to the Propono AtomPub
client. To add a new authentication type you simply implement the interface below. I have implemented BASIC Auth, OAuth and GData Auth in this way. I have tested this against Roller 5.0-dev's OAuth protected AtomPub. Any objections to committing this work to Propono? I'd love to get some reviews and feedback. - Dave PS. pluggable auth. interface for Propono package com.sun.syndication.propono.atom.client; import com.sun.syndication.propono.utils.ProponoException; import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.HttpMethodBase; public interface AuthStrategy { /** * Add authentication credenticals, tokens, etc. to HTTP method */ void addAuthentication(HttpClient httpClient, HttpMethodBase method) throws ProponoException; } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: Pluggable authentication and OAuth support in ProponoI have been working on trying to take a number of hacked up things I
did for propono and merge them into something a little more coherent. It is still sketchy but you can see the basic outline here: http://rome2.googlecode.com/svn/trunk/carthage/ I am going to try and clean it up a little more later. This is meant as something Propono/Fetcher or Anyone else could use with or without Apache HTTP. On Mon, Mar 16, 2009 at 11:51 AM, Dave <snoopdave@...> wrote: > I have added pluggable authentication support to the Propono AtomPub > client. To add a new authentication type you simply implement the > interface below. I have implemented BASIC Auth, OAuth and GData Auth > in this way. I have tested this against Roller 5.0-dev's OAuth > protected AtomPub. > > Any objections to committing this work to Propono? I'd love to get > some reviews and feedback. > > - Dave > > > PS. pluggable auth. interface for Propono > > > package com.sun.syndication.propono.atom.client; > import com.sun.syndication.propono.utils.ProponoException; > import org.apache.commons.httpclient.HttpClient; > import org.apache.commons.httpclient.HttpMethodBase; > > public interface AuthStrategy { > /** > * Add authentication credenticals, tokens, etc. to HTTP method > */ > void addAuthentication(HttpClient httpClient, HttpMethodBase method) > throws ProponoException; > } > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@... > For additional commands, e-mail: dev-help@... > > -- :Robert "kebernet" Cooper ::kebernet@... Alice's cleartext Charlie is the attacker Bob signs and encrypts http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9E8759F8 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
| Free embeddable forum powered by Nabble | Forum Help |