users@glassfish.java.net

Getting custom values from LDAP into my application

From: <glassfish_at_javadesktop.org>
Date: Thu, 19 Mar 2009 16:34:56 PDT

I'm using GlassFish v2.1 and I've integrated LDAP for security. Everything works well but I need to add custom values from the LDAP server and pass them down into my application.

Is there an easy way to accomplish this? Maybe by extending the com.sun.enterprise.security.auth.realm.ldap.LDAPRealm class to retrieve additional values from the LDAP server and place them into the RequestHeader so the application can retrieve them?

Thank you....
[Message sent by forum member 'cmathrusse' (cmathrusse)]

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