users@glassfish.java.net

RE: RE: RE: Determine if user is authenticated

From: Manfred Riem <mriem_at_manorrock.org>
Date: Mon, 21 Jul 2008 22:14:52 -0600

Interesting, which version of Glassfish are you using? I am not
seeing the same behavior. Are you sure Seam or Facelets is not
causing this?

Manfred

-----Original Message-----
From: glassfish_at_javadesktop.org [mailto:glassfish_at_javadesktop.org]
Sent: Monday, July 21, 2008 9:52 PM
To: users_at_glassfish.dev.java.net
Subject: Re: RE: RE: Determine if user is authenticated

I am just using the JAAS file realm that was created when the server was installed. I am using facelets and seam and have a managed bean that simply calls an ejb with an @resource sessionContext and the method calls sessionContext.getUserPrincipal().getName() and it returns a name (I believe ANONYMOUS) even before I try to authenticate to the secure portion of the application.
[Message sent by forum member 'chadws' (chadws)]

http://forums.java.net/jive/thread.jspa?messageID=288262

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: users-help_at_glassfish.dev.java.net