[jboss-user] [JNDI and Naming] - LDAP connection management

borfnorton22 borfnorton22 do-not-reply at jboss.com
Tue May 24 15:16:23 EDT 2011


borfnorton22 borfnorton22 [http://community.jboss.org/people/borfnorton22] created the discussion

"LDAP connection management"

To view the discussion, visit: http://community.jboss.org/message/606808#606808

--------------------------------------------------------------
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
[http://community.jboss.org/message/606808#606808]

Start a new discussion in JNDI and Naming at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110524/ba11c9a7/attachment.html 


More information about the jboss-user mailing list