Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

getCallerPrincipal() in MDB  RSS feed

 
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)
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!