A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
Web Component Certification (SCWCD/OCPJWCD)
Joined: Jan 05, 2004
Nov 08, 2004 23:05:00
I'm a bit confused about <security-role-ref>.
If I have a user mapped to "manager" in tomcat-users.xml - and do a
- then a check on isUserInRole("admin") == true as is isUserInRole("manager") - fair enough !
If I add an additional mapping (same
- then the above check still responds with 2 times true !
What did I miss out her ?
Something really fancy in the signature
I agree. Here's the link:
Security roles in web.xml
security - role - ref
security-role-ref of Servlet element?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015