code: public static Response<SearchResult> executeSearchOperation(final ConnectionFactory connectionFactory,
                                                                  final String baseDn,
                                                                  final SearchFilter filter,
                                                                  final String... returnAttributes) throws LdapException {
          return executeSearchOperation(connectionFactory, baseDn, filter, null, returnAttributes);
      }
docs: Execute search operation.
  
  @param connectionFactory the connection factory
  @param baseDn            the base dn
  @param filter            the filter
  @param returnAttributes  the return attributes
  @return the response
  @throws LdapException the ldap exception