Win a copy of JDBC Workbook this week in the JDBC and Relational Databases forum
or A Day in Code in the A Day in Code forum!
  • 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
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

principal realms

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was doing a mockexam from ejbcertificate.com and the question was:

Which one of the following is a responsibility of the EJB Container with regards to EJB security?


1 The EJB Container is required to provide a security domain and one or more principal realms to the enterprise bean's.
2 The EJB Container is required to provide tools for the Bean provider to allow them to debug enterprise bean's once they have been deployed.
3 The EJB Container is required to link security role references to security roles.
4 The EJB Container is responsible for configuring the principal delegation for inter-component calls.

According to the authors, the correct answer is 1. In HF EJB it is explicitly said that multiple principal realms are not guaranteed, but in number 1 they say :"one or more principal realms"..... :roll:
Who's right???
 
Ranch Hand
Posts: 379
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Svitlana Dukhovna:
I was doing a mockexam from ejbcertificate.com and the question was:

Which one of the following is a responsibility of the EJB Container with regards to EJB security?


1 The EJB Container is required to provide a security domain and one or more principal realms to the enterprise bean's.
2 The EJB Container is required to provide tools for the Bean provider to allow them to debug enterprise bean's once they have been deployed.
3 The EJB Container is required to link security role references to security roles.
4 The EJB Container is responsible for configuring the principal delegation for inter-component calls.

According to the authors, the correct answer is 1. In HF EJB it is explicitly said that multiple principal realms are not guaranteed, but in number 1 they say :"one or more principal realms"..... :roll:
Who's right???



If I remember well, the HF EJB says also that *one* is guaranteed
 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Spec 21.6.2: The EJB Container provides a security domain and one or more principal realms to the enterprise beans.


Therefore answer (1) is correct and, at the same time, more than one principal realm is not guaranteed. (it's not a contradiction)

Severin
 
Svitlana Dukhovna
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Severin!
 
I miss the old days when I would think up a sinister scheme for world domination and you would show a little emotional support. So just look at this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic