A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Web Component Certification (SCWCD/OCPJWCD)
Question about auth-constraint
Joined: Jul 24, 2002
Mar 05, 2005 03:17:00
What happens if two conflicting <security-constraint> elements have got the following declaration for the same resource (let's say /secureServet/*):
Security constraint A:
Security constraint B:
How will the resulting table be defined? With nobody or everybody?
Marco Tedone<br />SCJP1.4,SCJP5,SCBCD,SCWCD
Joined: Nov 28, 2004
Mar 05, 2005 07:48:00
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.
Have you checked out
subject: Question about auth-constraint
Doubt in Auth-Constraint
HFS Mock Exam - Q29 - Is the question correct? - Auth-constraint
Doubt about auth-constraint
doubt in auth-constraint
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015