• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

principal realms

 
Svitlana Dukhovna
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???
 
alzamabar
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
 
Severin Stoeckli
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic