• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[Marcus Green Mock exam] Q6 exam 1

 
Sebastien French
Greenhorn
Posts: 26
Firefox Browser Java Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 2173
57
Android Chrome Eclipse IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic