Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How "Principal" & "Role" relate ?

 
Vince Hon
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From HFB P. 584, it describes what's the meaning of

1. Principal
2. Role
3. Users
4. Groups

As I know, one "Group" contains "many users". So how "Principal" & "Role" relate each other ?

Is it one "Role" contains "many Principal" ?
 
Paul Codillo
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Vince Hon:
From HFB P. 584, it describes what's the meaning of
1. Principal
2. Role
3. Users
4. Groups
As I know, one "Group" contains "many users". So how "Principal" & "Role" relate each other ?
Is it one "Role" contains "many Principal" ?

Principal maps to a user accessing the system while a role defines certain privilages its members can possess. For example, principals p1 and p2 belong to role "Admin", while principals p3 and p4 belong to role "Guest User". The role Admin defines privilages that p1 and p2 can have, while p3 and p4 have their own privilages defined for Guest User.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!