Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCPJWCD
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Web Component Certification (OCEJWCD)
Question about auth-constraint
alzamabar
Ranch Hand
Posts: 379
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
What happens if two conflicting <security-constraint> elements have got the following declaration for the same resource (let's say /secureServet/*):
Security constraint A:
<auth-constraint />
Security constraint B:
<auth-constraint>
<role-name>*</role-name>
</auth-constraint>
How will the resulting table be defined? With nobody or everybody?
Marco Tedone<br />SCJP1.4,SCJP5,SCBCD,SCWCD
Jose Esteban
Ranch Hand
Posts: 102
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
The
Servlet
2.4 (SRV.12.8.1) spec says:
"The special case of an authorization constraint that names no roles shall combine with any other constraints to override their affects and cause access to be precluded."
So the answer is NOBODY.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
?
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Doubt in Auth-Constraint
<auth-constraint>
HFS Mock Exam - Q29 - Is the question correct? - Auth-constraint
Doubt about auth-constraint
doubt in auth-constraint
More...