users@glassfish.java.net

Re: JNDI Realm JBoss -> Glassfish

From: <glassfish_at_javadesktop.org>
Date: Mon, 04 Jun 2007 16:09:43 PDT

Glassfish injects a meta (catalina) realm called the RealmAdapter which implements the jsr 115 and 196 contracts. For realm style authentication, the RealmAdapter selects the com.sun.enterprise.security.auth.realm bound to the application, and makes calls through to it. Realms are typically bound to an application via deployment descriptor constructs.

https://glassfish.dev.java.net/javaee5/docs/DG/beabg.html#beabq

Glassfish includes an LDAP realm which can be configured for any application. You should be able to use the glassfish realm to configure your Glassfish containers to interact with your LDAP repository.

Please see:
http://fisheye5.cenqua.com/browse/glassfish/appserv-core/src/java/com/sun/enterprise/security/auth/realm/ldap/LDAPRealm.java

In it's current state, Glassfish does not support the configuration of custom implementations of org.apache.catalina.Realm.

Ron
[Message sent by forum member 'monzillo' (monzillo)]

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