@Extensible @ThreadSafety(level=INTERFACE_THREADSAFE) public interface ReusableReferralConnector extends ReferralConnector
FullLDAPInterface(e.g., a connection pool) that may be used for the purpose of following a referral. When configured with a
ReusableReferralConnectorrather than a base
ReferralConnector, one of the methods in this class will be used in preference to the
|Modifier and Type||Method and Description|
@NotNull FullLDAPInterface getReferralInterface(@NotNull LDAPURL referralURL, @NotNull LDAPConnection connection) throws LDAPException
FullLDAPInterfacefor use in following a referral returned in the provided result. The caller must not do anything to attempt to leave the interface in an unusable state (e.g., closing a connection or connection pool).
referralURL- The LDAP URL for the referral to follow. It must not be
connection- The connection on which the referral was received. It will not be
FullLDAPInterfacefor use in following a referral with the given URL.
LDAPException- If a problem occurs while obtaining the
FullLDAPInterfaceto use for following the referral.