aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes [Marcus Green Mock exam] Q6 exam 1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "[Marcus Green Mock exam] Q6 exam 1" Watch "[Marcus Green Mock exam] Q6 exam 1" New topic
Author

[Marcus Green Mock exam] Q6 exam 1

Sebastien French
Greenhorn

Joined: Jan 04, 2012
Posts: 22

Hello,

I've doubts about question 6 of Marcus green first mock exam



first of my doubts, is that not a problem to have a <role-name>manager</role-name> out of <auth-constraint> </auth-constraint> ?



Then I was sure that when you have no <auth-constraint> nor <role-name>, all user authenticated or not could access resources.
But in answer it says :


Although the first auth-constraint is empty, implying no one will have access to the resource, this is cancelled out by the second auth-constraint that will allow anyone to access the resource.



Last but not least please tell me how does it work, if for the same URL you have multiple constraint, which constraint will be used ? the less restrictive ?


Seb
Frits Walraven
Creator of Enthuware JWS+ V6
Bartender

Joined: Apr 07, 2010
Posts: 1529
    
  22

Hi Sebastien,

A lot of Marcus Greens questions have been discussed here berfore. Check this thread.

Regards,
Frits
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [Marcus Green Mock exam] Q6 exam 1
 
Similar Threads
Marcus Green exam: Dueling auth-constraint elements
related to auth constraint
Mock question about <auth-constraint>
Marcus Green Quiz 1 - Mock Exam Question Doubt
security-constraint issue?