• Post Reply Bookmark Topic Watch Topic
  • New Topic

Knowing Remote User inside web service server code

 
Manikandan Jayaraman
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!

_Mani
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!