• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Knowing Remote User inside web service server code

 
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic