• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What's the realm really mean?

 
Ali Ragi
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's the realm really mean? and what's the one pricipal realm and multiple realms, what's the diff?
 
Sudhir V
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is what I got thru the internet search:
A security realm is a mechanism used for protecting Web application resources. It gives you the ability to protect a resource with a defined security constraint and then define the user roles that can access the protected resource.It provides a mechanism by which a collection of usernames, passwords, and their associated roles can be integrated into an application.
So basically the operational environment server has realms probably for each department which describes the users and roles in that department. So u can hook a realm to an EJB container and the container queries the realm for authentication.
 
Ali Ragi
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks! But what's the one pricipal realm and multiple realms, what's the diff?
 
Janne Karhu
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's how I understand the one/multiple realm stuff:
Multiple realms can exist in a single environment. Each realm has probably different users and roles. EJB requires only one realm support for container/server at a time - so if the first realm has a user A with a role 'king' and the second realm a user B with a role 'queen', it's not mandatory for EJB container/server to be able to plug the EJB application in such a way that it supports both realms and thus both users and roles (B->'queen' and A->'king').
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic