cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mustafa Egilmezbilek" <>
Subject Re: Know the user principal is callin a WS
Date Fri, 05 Oct 2007 10:54:19 GMT

If you are using Spring AOP in your project, the WebServiceContext returns
Thanks to Willem  (from Iona), he put a fix (issue CXF-1074) and checked it
in the trunk. The fix failed in my case but might work for your case. Please
get the latest trunk and build and use it. (


On 10/5/07, imorales <> wrote:
> Hi all.
> I need to know how get the user name that is invoking a web service. I
> have
> a WebServiceContext in my webservice implementor class, WebServiceContext
> has a method "getUserPrincipal", but WebServiceContext is  null and i cant
> acces to it. I read how to write a custom Interceptor but i dont know how
> get de user whenever serviceweb is called.
> Thanks in advance.
> --
> View this message in context:
> Sent from the cxf-user mailing list archive at

Mustafa Egilmezbilek

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message