coheigea wrote
> You need to add the following to your endpoint as a JAX-RS provider:
> <bean
> class="org.apache.cxf.rs.security.oauth2.client.ClientTokenContextProvider"
> />
> Colm.
> 
> -- 
> Colm O hEigeartaigh
> 
> Talend Community Coder
> http://coders.talend.com

I have already tried ClientTokenContextProvider and my custom
CustomClientTokenContextProvider. I am able to see it is trying to invoke
with ClientTokenContext but some how parameter is not passed to actual
method in reflection.

---------------------------------------------------
2018-02-20 09:27:59,800 [] FINE 
[org.apache.cxf.phase.PhaseInterceptorChain] (http-/0.0.0.0:8080-5) Invoking
handleMessage on interceptor
org.apache.cxf.interceptor.ServiceInvokerInterceptor@4bc66235
2018-02-20 09:28:06,250 [] FINER
[org.apache.cxf.service.invoker.AbstractInvoker] (http-/0.0.0.0:8080-5)
Invoking method public javax.ws.rs.core.Response
com.broker.QuoteService.viewQuoteAuto(org.apache.cxf.rs.security.oauth2.client.ClientTokenContext)
on *object com.broker.QuoteService@635b8841 with params
[com.broker.CustomClientTokenContextProvider$WrapClientTokenContext@610b6c88].*
---------------------------------------------------
2018-02-20 10:03:24,725 [] FINE 
[org.apache.cxf.phase.PhaseInterceptorChain] (http-/0.0.0.0:8080-5) Invoking
handleMessage on interceptor
org.apache.cxf.interceptor.ServiceInvokerInterceptor@52454c34
2018-02-20 10:07:35,935 [] FINER
[org.apache.cxf.service.invoker.AbstractInvoker] (http-/0.0.0.0:8080-5)
Invoking method public javax.ws.rs.core.Response
com.broker.QuoteService.viewQuoteAuto(org.apache.cxf.rs.security.oauth2.client.ClientTokenContext)
on *object com.broker.QuoteService@186fd00a with params
[org.apache.cxf.rs.security.oauth2.client.ClientTokenContextImpl@1592b886].*
---------------------------------------------------





--
Sent from: http://cxf.547215.n5.nabble.com/cxf-user-f547216.html

Reply via email to