• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

dueling auth-constraint element

 
A. Aka
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

in JFSJ page 671, when two <security-constraint> element have an overlapping, how the container will solve access if he finds this


Thanks,
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Pie
Posts: 2536
113
Android Chrome Eclipse IDE
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Straight from the specs:

Servlet 2.4 12.8.1 Combining Constraints
Servlet 3.0 13.8.1 Combining Constraints
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.

Regards,
Frits
 
A. Aka
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
to sum up, no one will have access the constrained resource
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Pie
Posts: 2536
113
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic