Hi,

Hi, I have a application in Struts1.x and want to use struts2.x
simultaneously. I followed the steps from the threads and have set up the
application.  But I have issues while getting UserPrincipal inside struts 2
action. (getServletRequest().getUserPrincipal()).  The principal object is
always null in struts 2 action.

My existing application uses Struts 1.3 and WAS 7.0.  We are using JSecurity
for authentication.  I am able to get the Principal object inside my struts
1 action.  But the principal object is null inside the struts 2 action.

Do we need to do any thing specific to expose the principal object to struts
2 action? 



--
View this message in context: 
http://struts.1045723.n5.nabble.com/getUserPrincipal-in-Struts-2-Action-tp5710605.html
Sent from the Struts - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to