A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Software Craftsman
this week in the
EJB and other Java EE Technologies
Joined: Oct 28, 2007
Oct 22, 2008 02:59:00
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
Context to perform also a security access to A1?
Il dubbio � il padre del sapere.
Joined: Apr 16, 2008
Oct 24, 2008 11:44:00
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.
I agree. Here's the link:
subject: Authentication JMS/MDB
How two different web application communicate with each other
Is this explanation correct?
exam lab gc question
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015