Hi,

I am taking the tutorial here http://cxf.apache.org/docs/jax-rs-oauth2.html

and I can't find a way to configure the dataProvider in the AccessTokenService 
class without Spring.

I am using the CXFNonSpringJaxrsServlet

I am currently using

    public class MyAccessTokenService extends
            org.apache.cxf.rs.security.oauth2.services.AccessTokenService {

        public MyAccessTokenService() {
            setDataProvider(new MyDataProvider());
        }
    }

Is there any other way that is officially endorsed?

Thanks in advance

   Vassilis

Reply via email to