Apache CXF Oauth2 Support In Tomee 8

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Apache CXF Oauth2 Support In Tomee 8

chege
Hi,

I have been using apache cxf oauth2 module in using spring and tomcat.
Everything works fine. I can generate tokens and secure my services
using Bearer tokens.


Since Tomee 8 uses apache cxf to provide jaxrs functionalities, I
decided to test ouath2 with apache tomee 8. I first checked in tomee lib
folder and found out tomee ships with the supporting lib.


|<dependency>|
|||<groupId>org.apache.cxf</groupId>|
|||<artifactId>cxf-rt-rs-security-oauth2</artifactId>|
|||<version>||3.3.2||||||</version>|
|</dependency>|
|
|
|I am looking for help on how to use this ->
http://cxf.apache.org/docs/jax-rs-oauth2.html in a cdi environment.
|
|
|
|
|
|
|
|Thanks.
|
|
|
|
|