Knowing Remote User inside web service server code
posted 8 years ago
Assume that there is a JAX-RPC client that is trying to talk to the web service. This client might reside in any server. The client application might have logged into this server with some username before it can query the web service.
When the SOAP/HTTP request reaches the web service from this client, is there a way we can know the user id from which the request originated?
Something equal to request.getRemoteUser() of HttpServletRequest API. Any pointer towards this will help me a lot. Many Thanks!