Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Servlets and the fly likes run-as for all the jsp/servlets in the web-app Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "run-as for all the jsp/servlets in the web-app" Watch "run-as for all the jsp/servlets in the web-app" New topic
Author

run-as for all the jsp/servlets in the web-app

Nahwed Pandar
Greenhorn

Joined: Aug 04, 2009
Posts: 1
I have a need to run all the jsp/servlets in my application as a particular user/role. I have added <run-as> tags to all the servlets in web.xml. However, how do I add ALL the jsps and servlets from the application to run as a specific role?

-thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63052
    
  69

"Nh Pcman", please check your private messages for an important administrative matter.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: run-as for all the jsp/servlets in the web-app
 
It's not a secret anymore!