Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Filter Security

 
Paul Croarkin
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
All of life is a contant education - Eleanor Roosevelt. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!