• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
Sheriffs:
  • Devaka Cooray
  • paul wheaton
  • Mark Herschberg
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
  • Jj Roberts
Bartenders:
  • Carey Brown
  • salvin francis
  • Piet Souris

EJB 3 Overview Enthuware

 
Ranch Hand
Posts: 856
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic