the most comfortable way will be the jndi path. the jndi namespace in jboss is a federated one, so you are able to integrate external namespaces like dns, ldap, filesystems, c++ or your anchestry tree seamlessly into the jndi tree.
you may then manipulate the objects via normal jndi lookup and search routines, respective the appropriate object factories. it is explicitely described in chapter 3 "Naming on JBoss - The JNDI Naming Service" of the jboss book, in the ExternalContext MBean config: ldap example with parameters in jboss.ldap : <!-- Bind a remote LDAP server --> <mbean code="org.jboss.naming.ExternalContext" name="jboss.jndi:service=ExternalContext,jndiName=external/ldap/jboss"> <attribute name="JndiName">external/ldap/jboss</attribute> <attribute name="Properties">jboss.ldap</attribute> <attribute name="InitialContext"> javax.naming.ldap.InitialLdapContext </attribute> <attribute name="RemoteAccess">true</attribute> </mbean> here we will bind the filesystem according to local.props : <!-- Bind the /usr/local file system directory --> <mbean code="org.jboss.naming.ExternalContext" name="jboss.jndi:service=ExternalContext,jndiName=external/fs/usr/local"> <attribute name="JndiName">external/fs/usr/local</attribute> <attribute name="Properties">local.props</attribute> <attribute name="InitialContext">javax.naming.InitialContext</attribute> </mbean> jboss.ldap: java.naming.factory.initial= com.sun.jndi.ldap.LdapCtxFactory java.naming.provider.url= ldap://ldaphost.jboss.org:389/o=jboss.org java.naming.security.principal=cn=Directory Manager java.naming.security.authentication=simple java.naming.security.credentials=secret local.props: java.naming.factory.initial= com.sun.jndi.fscontext.RefFSContextFactory java.naming.provider.url=file:///usr/local for your anchestry tree please use the settings accordingly ;-) bax > Von: madhu sudhan <[EMAIL PROTECTED]> > Organisation: infoglyptic > Antworten an: [EMAIL PROTECTED] > Datum: Wed, 22 Jan 2003 16:15:57 +0530 > An: [EMAIL PROTECTED] > Betreff: [JBoss-user] LDAP configuration > > Any one having any idea about how to connfigure External LDAP server in > jboss3.0.0 . > thanks in advance > > > ------------------------------------------------------- > This SF.net email is sponsored by: Scholarships for Techies! > Can't afford IT training? All 2003 ictp students receive scholarships. > Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. > www.ictp.com/training/sourceforge.asp > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > ------------------------------------------------------- This SF.net email is sponsored by: Scholarships for Techies! Can't afford IT training? All 2003 ictp students receive scholarships. Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. www.ictp.com/training/sourceforge.asp _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user