@Extensible @ThreadSafety(level=INTERFACE_THREADSAFE) public interface ReferralConnector
ReferralConnector
instance.Modifier and Type | Method and Description |
---|---|
LDAPConnection |
getReferralConnection(LDAPURL referralURL,
LDAPConnection connection)
Retrieves an (optionally authenticated) LDAP connection for use in
following a referral as defined in the provided LDAP URL.
|
@NotNull LDAPConnection getReferralConnection(@NotNull LDAPURL referralURL, @NotNull LDAPConnection connection) throws LDAPException
referralURL
- The LDAP URL representing the referral being followed.connection
- The connection on which the referral was received.LDAPException
- If a problem occurs while establishing the
connection or performing authentication on it. If
an exception is thrown, then any underlying
connection should be terminated before the
exception is thrown.