> You are probably looking for
> HttpServletRequest.getUserPrincipal()
>
> Manfred
This method returns a user principal even if no user is authenticated. I believe the user credential is ANONYMOUS. Do you know if this name is a JEE standard or whether it is glassfish specific?
[Message sent by forum member 'chadws' (chadws)]
http://forums.java.net/jive/thread.jspa?messageID=288048