• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Principal-roles: Clarification

 
vinod balaji
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
getCallerPrincipal() returns the principal that represents the caller of the enterprise bean. I have a doubt regarding the desciption given for Principal. IS the PRincipal denotes the entity or the user/group. Please clarify this.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that most of the time, it will be a logged in user, except when a bean explicitly specifies the "run-as" tag.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic