A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
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-role-ref of Servlet element?
security - role - ref
Security roles in web.xml
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014