File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes multiple security-constraint elements interaction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "multiple security-constraint elements interaction" Watch "multiple security-constraint elements interaction" New topic

multiple security-constraint elements interaction

Sayak Banerjee
Ranch Hand

Joined: Nov 28, 2006
Posts: 292
What happens in this case : One of the <security-constraint> elements has no <auth-constraint> element and it combines with an empty <auth-constraint> tag inside <security-constraint> the access to the common constrained resource allowed to everybody or to nobody? I think it's nobody...but it's always better to confirm?

Turn on, tune in, drop out.
Sreeraj G Harilal
Ranch Hand

Joined: Apr 19, 2006
Posts: 310

SCJP 5.0<br />SCWCD 1.4<br />Preparing for <b>SCEA</b>.<br /><b>"I prefer an interesting vice to a virtue that bores."</b>
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
That's quite easy to test, isn't it?

By the way, PatienceIsAVirtue.
I agree. Here's the link:
subject: multiple security-constraint elements interaction
It's not a secret anymore!