This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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 Building Microservices this week in the Design 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: 26

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
Saloon Keeper

Joined: Apr 07, 2010
Posts: 2007
    
  39

Hi Sebastien,

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

Regards,
Frits
 
Have you checked out Aspose?
 
subject: [Marcus Green Mock exam] Q6 exam 1
 
jQuery in Action, 3rd edition