Forums Register Login

SessionContext is not reflecting the right user name.

+Pie Number of slices to send: Send

sessionContext.getCallerPrincipal().getName() is not reflecting the right user name.


Hi,
I am calling a session bean, before I make a call to the session bean I am setting...

and make a call to the bean

but from the processRequest() method of RequestDispachterBean when I display

it displays
userID is guest
Infact I have not specified guest user in any of my xml.

If will be great if somebody can tell me why I am not getting the userID which I am setting i.e. "Manager".
+Pie Number of slices to send: Send
Can somebody help me on this :roll:
FYI I have check and found setSessionContext method is getting called of the RequestDispacher Session Bean. Then why it is not setting the User name.
Don't listen to Steve. Just read this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1150 times.
Similar Threads
Application Client Naming Exception
configuring service provider for jndi lookup
JBOSS AND JMS HELP!!!
Problem with orion-Urgent Please Can any one help us
how to start a transaction from client side in CMT
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 03:35:05.