The easiest is likely to call PhaseInterceptorChain.getCurrentMessage() to grab 
the internal CXF message and pull the various properties out of there.

Dan


On Aug 7, 2013, at 9:46 AM, inteloid <[email protected]> wrote:

> Hi all.
> 
> I have a spring managed CXF application where CXF resources simply forward
> calls to spring services. 
> Also I've set up CXF implementation of OAuth2 framework.
> 
> Now my problem is that I want to get the credentials of user from my spring
> services, i.e. somehow I need statically access MessageContext object. The
> question is how to do that?
> 
> Thanks in advance.
> 
> 
> 
> --
> View this message in context: 
> http://cxf.547215.n5.nabble.com/Statically-access-MessageContext-tp5732065.html
> Sent from the cxf-user mailing list archive at Nabble.com.

-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to