aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Security question - HFEJB - page 595 - question 10. 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 » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Security question - HFEJB - page 595 - question 10." Watch "Security question - HFEJB - page 595 - question 10." New topic
Author

Security question - HFEJB - page 595 - question 10.

Steven Colley
Ranch Hand

Joined: Feb 18, 2005
Posts: 290
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 ;-)


SCJP | SCWCD | SCBCD | SCWSD 5 | SCEA (I) 1.4 | SCEA 5 | IBM SOA 669
Steven Colley
Ranch Hand

Joined: Feb 18, 2005
Posts: 290
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

Joined: Nov 24, 2005
Posts: 14687
    
  16

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.


[My Blog]
All roads lead to JavaRanch
Steven Colley
Ranch Hand

Joined: Feb 18, 2005
Posts: 290
YUP Christophe , tks so much!!!

Hugs,
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Security question - HFEJB - page 595 - question 10.
 
Similar Threads
ejbRemove calling ejbPassivation
Primitive return type for an enitity bean callback method ejbCreate()?
Security question - HFEJB - page 593 - question 1.
Valid ejbCreate method?
HFEJB - pg 564 - Exceptions: question 4.