code: @Override
  	public void search(final String base, final String filter, final SearchControls controls,
  			NameClassPairCallbackHandler handler, DirContextProcessor processor) {
  
  		// Create a SearchExecutor to perform the search.
  		SearchExecutor se = new SearchExecutor() {
  			public NamingEnumeration executeSearch(DirContext ctx) throws javax.naming.NamingException {
  				return ctx.search(base, filter, controls);
  			}
  		};
  		if (handler instanceof ContextMapperCallbackHandler) {
  			assureReturnObjFlagSet(controls);
  		}
  		search(se, handler, processor);
  	}
docs: {@inheritDoc}