Hi,

I guess you would need a JCA resource adapter (RAR) for LDAP/JNDI, like the ones Java EE and JBoss AS have for JDBC, JMS and JavaMail. If you do find (or write) one, please tell the list.


[]s, Fernando Lozano

---- Original Message ----
From: borfnorton22 borfnorton22 <do-not-reply@jboss.com>
To: "User development" <jboss-user@lists.jboss.org>
Sent: Ter, Mai 24, 2011, 16:25 PM
Subject: [jboss-user] [JNDI and Naming] - LDAP connection management

JBoss Community

LDAP connection management

created by borfnorton22 borfnorton22 in JNDI and Naming - View the full discussion

Hi,

We have an application which makes use of LDAP connections to an external LDAP server for various operation.

 

This application resides in two different datacenters in different parts of the world (A and B) and each (A and B) should be connecting to different LDAP datasources (i.e. A connects to LDAP-A, and B connects to LDAP-B)

 

The application runs on Jboss 6 and the code that needs the LDAP connections is simply in an stateless EJB

 

We would like the Jboss servers in A and B to have a way to provide the LDAP connections, similar to how we wire in actual @Resource jboss -DS.xml defined DataSources.

 

Is this possible (container managed ldap connections)? Or is there a way for the container to store ldap connection config info (i.e. the hostname, credentials) that the EJB can have injected and create the JNDI connection on its own?

Reply to this message by going to Community

Start a new discussion in JNDI and Naming at Community