• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB 3 Overview Enthuware

 
Amandeep Singh
Ranch Hand
Posts: 850
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which of the following are correct?

1. Application assembler assigns principals to the security roles.

2. Application assembler assigns principals to the security role refs.

3. Deployer assigns principals to the security roles.

4. Bean provider declares the logical security roles used in the application.
explanation: Application assembler does this using <security-role> elements.

5. Application assembler declares roles used in the beans using the security-role-ref elements.
explanation: Bean provider does this.

6. Deployer maps the security-role-refs to the security roles available in the target environment.

the correct answer is 3.

if we look at answer 4 and 5. How their explanation is contradicting to each other.

Application assembler does this using <security-role> elements.
Bean Provider declares roles used in the beans using the security-role-ref elements.

Although the security-role and security-role-ref elements are in the same DD. Yet they are used by Application assembler and Bean Provider How come?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic