Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Run Web application as Specific user.

 
Kishor Samant
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On my application server machine ,I have done drive mapping using specific user.
But with web application running on Tomcat I am not able to access this drive because tomcat runs as a windows service and not with user which has the actual access to drive mapped.
So i want know how to run web application on tomcat server with specific user.
 
Tim Holloway
Saloon Keeper
Posts: 18304
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat itself is an application and therefore it runs under a user ID of its own. Reckless people run it under an administrative/root user ID. Security-minded people create a special ID just for Tomcat.

Since Tomcat is a multi-user system it has to have security privileges that are the greatest common denominator of all the Tomcat users as used by the deployed webapps. Per-appuser environmental characteristics such as drive mappings are not possible, however because Tomcat doesn't attempt to virtualize an entire server OS.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic