I would help if I could reproduce the problem locally. Unfortunately, I'm unable to. You could use the following to try to get the username:

SecurityContext securityContext = (SecurityContext) event.getValue();
Authentication auth = securityContext.getAuthentication();
if (auth != null && (auth.getPrincipal() instanceof User)) {
    User user = (User) auth.getPrincipal();
}

Matt

On Mar 12, 2008, at 8:05 AM, orangetreats20171 wrote:


Could someone please help me with this ???? I am stuck for quite a while now
....



orangetreats20171 wrote:

 http://www.nabble.com/file/p15986107/security.xml security.xml

The defaultTargetUrl in authenticationProcessingFilter has been changed to
point to "/mainMenu.html" instead of "/"

Other than that I dont recall making changes to security.xml. i am
attaching it anyway.

No clue as to what the problem is ...

iam also attaching ACEGI debug logs snapshot when the URL is clicked .....

  http://www.nabble.com/file/p15986107/debug.log debug.log


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


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



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

Reply via email to