This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Servlets and the fly likes Filter Security Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Filter Security" Watch "Filter Security" New topic
Author

Filter Security

Paul Croarkin
Ranch Hand

Joined: Sep 30, 2004
Posts: 106
We have a Filter where we would like to do some logging to the database. The datasource pool is protected via declarative security and we get permission errors in the Filter because of this. In a servlet, we would get around this by setting the <run-as> role on the servlet in web.xml. There does not seem to be a way to do this with a Filter.


Thanks,<br /> <br />Paul Croarkin<br />SCEA 5, SCWCD, SCJP
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Filter Security
 
Similar Threads
How to find the servlet name that has been maped to a filter
Set user principal in a filter
Grouping servlets
Using forward or include in a filter
Filter vs Servlet