• 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:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

principal realms

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks Severin!
 
"To do good, you actually have to do something." -- Yvon Chouinard
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic