glassfish_at_javadesktop.org wrote:
>Hi,
>
>I have an application which authenticate against an LDAP directory with a LDAPRealm.
>
>Can I get more informations about the user who logged in ?
>
>The LDAP entry is a person and I want to display informations about the user who logged in.
>
>
There is getCallerPrincipal() on EJBContext and getUserPrincipal() on
HttpServletRequest , have you tried them ?.
Thanks.
>Is there something what I can reuse or do I have to make my one ldap query?
>
>Regards
>Volker Jordan
>[Message sent by forum member 'vjordan' (vjordan)]
>
>http://forums.java.net/jive/thread.jspa?messageID=232494
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>