Hi all,
I have configured my web service to use a "WS-Security Username Token
Authentication" (http://cwiki.apache.org/CXF20DOC/ws-security.html) and I'd
like to know which WS-Security user is operating a method in my web service.
Is it possible to do something like that (and if yes how ?) :
@WebService(endpointInterface = "tests.services.HelloWorld", serviceName =
"HelloWorld")
public class HelloWorldImpl implements HelloWorld {
public String sayHi() {
/****/
How to get the userName ?
/****/
return "Hello " + userName;
}
}
Thanks in advance !
Regards,
Loïc
--
View this message in context:
http://www.nabble.com/WS-Security-user-name-tested-in-a-web-service-method---tp14948049p14948049.html
Sent from the cxf-user mailing list archive at Nabble.com.