Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getCallerPrincipal() in MDB

 
Mamadou Touré
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks,

I've read on the spec that we can call the getCallerPrincipal() in a MDB, I'm wondering what will this method return as there is no client for the MDB ??

 
Christian Nicoll
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mamadou,

in MZ-Notes I've found only this line for getCallerPrincipal() in MDB's

The getCallerPrincipal method returns the java.security.Principal that is associated with the invocation.

But this topic was still discussed in the past: link (hoping it helps)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic