File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Security question - HFEJB - page 595 - question 10.

 
Steven Colley
Ranch Hand
Posts: 290
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Security question - HFEJB - page 595 - question 10.

Option D :
- " The DEPLOYER maps security role references to security roles".

Why is this wrong? just because it's inverted ?

Tks ;-)
 
Steven Colley
Ranch Hand
Posts: 290
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,

I think I figured this out...

"security role references" statement means : "security-role-ref" being mapped to <security-role> tags...

Therefore this is Assembler's business to include <role-link> tag to "maps security role references to security roles"....

does it make sense?
Tks!
 
Christophe Verré
Sheriff
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, linking references to roles is the job of the Assembler.

If the Bean Provider has declared any security role references using the security-role-ref elements, the Application Assembler must link all the security role references listed in the security-role-ref elements to the security roles defined in the security-role elements.

The deployer is concerned with assigning real principals to role names.

The Deployer assigns principals and/or groups of principals (such as individual users or user groups) used for managing security in the operational environment to the security roles defined in the security-role elements of the deployment descriptor.
 
Steven Colley
Ranch Hand
Posts: 290
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
YUP Christophe , tks so much!!!

Hugs,
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic