• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

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?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic