users@glassfish.java.net

Accessing user name from application client

From: <glassfish_at_javadesktop.org>
Date: Thu, 26 Feb 2009 01:17:55 PST

Hi,
I'm looking for a solution how to access the username in an EJB application client that was used during authentication inside the authentication login window (using the glassfish login module).

Currently, I'm using a workaround, i.e. I'm getting the username from the EJB (using my own EJB method) which retrieves the pricipal name form the SessionContext.

Thanks,
tom
[Message sent by forum member 'surftom' (surftom)]

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