code: @Trivial
      @SuppressWarnings({ "unchecked", "rawtypes" })
      private Hashtable<String, ?> getSensitiveHashtable(Set<Object> creds, String[] properties) {
          List<String> props = new ArrayList<String>();
          for (String property : properties) {
              props.add(property);
          }
  
          for (Object cred : creds) {
              if (cred instanceof Hashtable) {
                  if (((Hashtable) cred).keySet().containsAll(props)) {
                      return (Hashtable) cred;
                  }
              }
          }
          return null;
      }
docs: /*
  The hashtable returned must contain all the properties being asked for.