Hi,

In my controller code, request.getRemoteUser() returns null even when I'm
logged in.  Also tried
SecurityContextHolder.getContext().getAuthentication().  This returns null,
too.

I'm using Jetty, and I had to add:

  request.getSession().setAttribute("ACEGI_SECURITY_CONTEXT", context);

to my signup controller in order to get it to remember my automatically
logged in user.  Could this issue be related?

Thanks,

Greg
-- 
View this message in context: 
http://www.nabble.com/request.getRemoteUser%28%29-always-returns-null-tf4542608s2369.html#a12963556
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to