Class JNDIConnectionImpl

java.lang.Object
de.hybris.platform.ldap.connection.JNDIConnectionImpl
All Implemented Interfaces:
LDAPConnection
Direct Known Subclasses:
ActiveDirectoryConnectionImpl, EDirectoryConnectionImpl

public class JNDIConnectionImpl extends Object implements LDAPConnection
An LDAPConnection implementation that runs in a standard JDK 1.4.1 (or greater) environment.

Supports fail-over to multiple servers.

This implementation will use the ordered list of servers in LDAPConfigProxyItem.

Ordered means that all requests will go the the first server in the configured list as long as it is available.

If that server fails it will go to the next in the list until it finds an available server.

Afterwards it will retry the servers at the top of the list to see if they have returned to life.