Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Authentication JMS/MDB

 
Mirko Bernardini
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody,

I'm trying to connect a MDB consumer application A1 to another application A2. When A2 retrive the messages from the queue I would like fix a user in the MDB context to log him.

Now the getMessageDrivenContext().getCallerPrincipal() is <anonymous>.
How can I add the user to the MessageDrivenBean Context to perform also a security access to A1?

Help me!!!

Mirko
 
Jimmy Clark
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please explain what you mean by "a MDB consumer application".

Is A2 retrieving messages from a non-MDB message queue?

The messages for a MDB queue and the messages for a non-MDB queue do not have the same context.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic