Vassilis Virvilis
2018-08-28 10:24:15 UTC
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
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