There is a requestwrapper allowing you to use request.getRemoteUser() and retrieve the ACEGI profile. I don't know the exact name of the class.
Pascal Gehl -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Charles Harvey III Sent: Thursday, January 25, 2007 12:25 PM To: acegisecurity-developer@lists.sourceforge.net Subject: [Acegisecurity-developer] Getting request.getRemoteUser() directlyafter login Hello. I have Acegi setup and working great on my site. My only issue is getting the information that Acegi has put in the request directly after someone logs in. 1) Non-logged in user clicks a link that requires login (/profile/ as example). 2) User is directed to /acegilogin.htm. 3) Successful login. 4) User is directed to /profile/. 5) Controller for /profile/ is ViewProfileController. 6) ViewProfileController looks for request.getRemoteUser() to get the current user's profile information out of the database. 7) request.getRemoteUser() is null - no profile Any idea why this is? Does an intermediate page have to be shown so the request completes? Is there a way around this? Have I configured something incorrectly? Thanks a lot. Charlie ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Home: http://acegisecurity.org Acegisecurity-developer mailing list Acegisecurity-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Home: http://acegisecurity.org Acegisecurity-developer mailing list Acegisecurity-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer