Hi
On 17/04/13 22:29, Patrick Heinzelmann wrote:
Hello!
Has anybody tried to integrate CXF OAuth 2.0 and Spring Security? I've an
existing application secured with Spring Security and want to use OAuth 2.0 for
the Authentication of the Webservice Layer (based on CXF).
The implementation of CXF OAuth 1.0 provided an integration between CXF OAuth
and Spring Security.
Is there something similar available?
Are you referring to the 'oauth' demo in CXF distribution ? I think you
can apply exactly the same Spring security configuration, the OAuth2
code simply checks SecurityContext, I think Spring Security will make
sure the security context is set up properly on HTTP request
Can you give it a try ?
Thanks, Sergey
Regards
Patrick