com.unboundid.ldap.sdk.migrate.ldapjdk
Interface LDAPRebind
@Extensible
@ThreadSafety(level=INTERFACE_THREADSAFE)
public interface LDAPRebind
This interface defines a method that can be used to retrieve information to
use to bind to a server when following referrals.
This class is primarily intended to be used in the process of updating
applications which use the Netscape Directory SDK for Java to switch to or
coexist with the UnboundID LDAP SDK for Java. For applications not written
using the Netscape Directory SDK for Java, the
ReferralConnector
class should be used
instead.
Method Summary |
LDAPRebindAuth |
getRebindAuthentication(java.lang.String host,
int port)
Retrieves information that should be used when authenticating to the
specified server for the purpose of following a referral. |
getRebindAuthentication
LDAPRebindAuth getRebindAuthentication(java.lang.String host,
int port)
- Retrieves information that should be used when authenticating to the
specified server for the purpose of following a referral.
- Parameters:
host
- The address of the server to which the connection will be
established.port
- The port of the server to which the connection will be
established.
- Returns:
- Information that should be used when authenticating to the
specified server.