You are probably looking for HttpServletRequest.getUserPrincipal()
Manfred
-----Original Message-----
From: glassfish_at_javadesktop.org [mailto:glassfish_at_javadesktop.org]
Sent: Sunday, July 20, 2008 6:45 PM
To: users_at_glassfish.dev.java.net
Subject: Determine if user is authenticated
Is there a method that can be used to determine if a user is authenticated? currently, I am assigning all users to one role and verifying that the current user is in that role. I was hoping there is a method somewhere that is server independent and that would not require adding all users to an additional role.
[Message sent by forum member 'chadws' (chadws)]
http://forums.java.net/jive/thread.jspa?messageID=287946
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: users-help_at_glassfish.dev.java.net