0 Replies Latest reply on Apr 3, 2007 5:48 AM by carmen climent

    LDAP binding

    carmen climent Newbie


      I wonder if its possible to have a unique jndi name attached to multiple ldap urls, in order to get some kind of "load balancing" between ldap servers.

      What we're trying to achieve is to be able to lookup different contexts
      at application level using just one jndi name.

       InitialContext iniCtx = new InitialContext();
       LdapContext ldapCtx = iniCtx.lookup("external/ldap/jboss");

      Is there something similar to the following code snippet for ldap urls?


      Thanks in advance,