Interface ReusableReferralConnector

    • Method Detail

      • getReferralInterface

        @NotNull
        FullLDAPInterface getReferralInterface​(@NotNull
                                               LDAPURL referralURL,
                                               @NotNull
                                               LDAPConnection connection)
                                        throws LDAPException
        Retrieves a FullLDAPInterface for 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).
        Parameters:
        referralURL - The LDAP URL for the referral to follow. It must not be null.
        connection - The connection on which the referral was received. It will not be null.
        Returns:
        A FullLDAPInterface for use in following a referral with the given URL.
        Throws:
        LDAPException - If a problem occurs while obtaining the FullLDAPInterface to use for following the referral.