/** * Processes the provided compare request using a connection from this * connection pool. * * @param compareRequest The compare request to be processed. It must not * be {@code null}. * * @return The result of processing the compare operation. * * @throws LDAPException If the server rejects the compare request, or if a * problem is encountered while sending the request or * reading the response. */ public final CompareResult compare( final ReadOnlyCompareRequest compareRequest) throws LDAPException { return compare((CompareRequest) compareRequest); }
/** * Processes the provided compare request using a connection from this * connection pool. * * @param compareRequest The compare request to be processed. It must not * be {@code null}. * * @return The result of processing the compare operation. * * @throws LDAPException If the server rejects the compare request, or if a * problem is encountered while sending the request or * reading the response. */ public final CompareResult compare( final ReadOnlyCompareRequest compareRequest) throws LDAPException { return compare((CompareRequest) compareRequest); }
/** * Processes a compare operation with the provided information using a * connection from this connection pool. * * @param dn The DN of the entry in which to make the * comparison. It must not be {@code null}. * @param attributeName The attribute name for which to make the * comparison. It must not be {@code null}. * @param assertionValue The assertion value to verify in the target entry. * It must not be {@code null}. * * @return The result of processing the compare operation. * * @throws LDAPException If the server rejects the compare request, or if a * problem is encountered while sending the request or * reading the response. */ public final CompareResult compare(final String dn, final String attributeName, final String assertionValue) throws LDAPException { return compare(new CompareRequest(dn, attributeName, assertionValue)); }
/** * Processes a compare operation with the provided information using a * connection from this connection pool. * * @param dn The DN of the entry in which to make the * comparison. It must not be {@code null}. * @param attributeName The attribute name for which to make the * comparison. It must not be {@code null}. * @param assertionValue The assertion value to verify in the target entry. * It must not be {@code null}. * * @return The result of processing the compare operation. * * @throws LDAPException If the server rejects the compare request, or if a * problem is encountered while sending the request or * reading the response. */ public final CompareResult compare(final String dn, final String attributeName, final String assertionValue) throws LDAPException { return compare(new CompareRequest(dn, attributeName, assertionValue)); }