It seems Spring has a way to manage the config via XML. See: http://static.springsource.org/spring-security/oauth/oauth1.html http://static.springsource.org/spring-security/oauth/oauth2.html http://www.springframework.org/schema/security/spring-security-oauth2.xsd
Thanks, Raymond ________________________________________________________________ Raymond Feng [email protected] Apache Tuscany PMC member and committer: tuscany.apache.org Co-author of Tuscany SCA In Action book: www.tuscanyinaction.com Personal Web Site: www.enjoyjava.com ________________________________________________________________ On Mar 3, 2011, at 9:55 AM, Bryant Luk wrote: > Sounds interesting. > > For the pluggability story for adding new handlers, you could create a > HandlersFactory which adds custom handlers to the chain. If that's > not enough, I think you'd have to write a custom > DeploymentConfiguration. > > My only concern right now about oAuth has been the configuration > management of it. Are there any thoughts around that in Amber? > > On Thu, Mar 3, 2011 at 10:56 AM, Raymond Feng <[email protected]> wrote: >> Hi, >> >> I'm exploring the opportunity to add oAuth support into Wink based on the >> oAuth 1.0 and 2.0 implementation from Apache Amber project [1]. >> >> The rough idea is: >> 1) Integrate the Amber server filter as a Wink server handler that deals >> with server-side oAuth >> 2) Integrate the Amber client as a Wink client handler to handle the the >> client-side oAuth >> 3) Provide JAX-RS resources that serves as the authorization and resource >> server >> >> For 1 &2, what's the pluggability story to add new handlers? >> >> Thoughts? >> >> Thanks, >> Raymond >> [1] http://incubator.apache.org/amber/ >> ________________________________________________________________ >> Raymond Feng >> [email protected] >> Apache Tuscany PMC member and committer: tuscany.apache.org >> Co-author of Tuscany SCA In Action book: www.tuscanyinaction.com >> Personal Web Site: www.enjoyjava.com >> ________________________________________________________________ >> >> > > > > -- > > http://www.twitter.com/bluk
