This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to find OS login ID from Servlet.

 
Abrahim Daver
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

How Can I find client OS's(operating system's e.g.window )Logged in User ID from Servlet. The client OS means, the OS from where that particular Servlet is requested on server.

Thanks,
Abra.
 
Jeroen T Wenting
Ranch Hand
Posts: 1847
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't, and it's best that way.
It would be a major security flaw if things like that were possible.
 
Abrahim Daver
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anyway, Thax for this.
But Can I get some information about the client, who requested that servlet from servlet??
Thanks,
Abra.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you install the LiveHTTPHeaders plugin for FireFox, you will be able to see exactly what information is passed from the client to the server in the HTTP Request Headers.
 
Rusty Smythe
Ranch Hand
Posts: 93
Mac Objective C Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why do you want to get the user's logged in name?

There may be a better way to do what you're trying to do.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic