• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Neat Way of Writing my web.xml

 
Dean Chester
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I Currently have my web.xml file looking like this:


Before I had this yet i need to keep reauthorizing my self:

So i ask is there anyway i can get this to work?
Dean
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17989
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yow! I'm all for container-based security, but this is a bit much. Did you assign a unique security role for each user?

About the most number of roles I've ever needed was 8. Something like: anonymous (not logged in), user, app_administrator, sysadmin, programmer, auditor, data_loader, scoring_table_modiifier and querent.

If I really needed more distinct roles than that, I'd probably do them fine-grained and add supporting logic.

I also normally zone out my URLs. For example, all admin functionality is under /admin, so that I can do a pattern-matched rule check rather than a rule for each discrete URL.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic