@Parameters
  public static Collection<Supplier<String>> peer() {
    return Arrays.asList(() -> "1",
      () -> ZKConfig.getZooKeeperClusterKey(UTIL2.getConfiguration()));
  }
Sets the security firstly for getting the correct default realm.
hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/replication/TestVerifyReplicationSecureClusterCredentials.java