@Test public void testGoodSecurity_5() { Node node1 = newTestNode("node1", "localhost1").setSecurityDir(RawPath.valueOf("security-root-dir")).setSecurityAuditLogDir(RawPath.valueOf("security-audit-dir")); Node node2 = newTestNode("node2", "localhost2", Testing.N_UIDS[2]).setSecurityDir(RawPath.valueOf("security-root-dir")).setSecurityAuditLogDir(RawPath.valueOf("security-audit-dir")); Cluster cluster = newTestCluster(newTestStripe("stripe1").addNodes(node1, node2)) .setSecuritySslTls(true) .setSecurityAuthc("certificate") .setSecurityWhitelist(true); new ClusterValidator(cluster).validate(); }
public void validate() throws MalformedClusterException { validate(Version.CURRENT); }
ClusterValidator { public void validate() throws MalformedClusterException { validate(Version.CURRENT); } }
ClusterValidator { public void validate() throws MalformedClusterException { validate(Version.CURRENT); } ClusterValidator(Cluster cluster); }
ClusterValidator { public void validate() throws MalformedClusterException { validate(Version.CURRENT); } ClusterValidator(Cluster cluster); void validate(); void validate(Version version); }
ClusterValidator { public void validate() throws MalformedClusterException { validate(Version.CURRENT); } ClusterValidator(Cluster cluster); void validate(); void validate(Version version);  }