code: public Entry lookup(String dn) throws LdapException {
          return this.service.getAdminSession().lookup(new Dn(dn));
      }
docs: Convenience method to call {@link CoreSession#lookup(Dn, String...)}.
  
  @param dn The distinguished name to lookup.
  @return The {@link Entry} if it exists.
  @throws LdapException If there was an issue doing the lookup.