Class TestVerifyReplicationSecureClusterCredentials
java.lang.Object
org.apache.hadoop.hbase.replication.TestVerifyReplicationSecureClusterCredentials
@Tag("org.apache.hadoop.hbase.testclassification.ReplicationTests") @Tag("org.apache.hadoop.hbase.testclassification.LargeTests")
public class TestVerifyReplicationSecureClusterCredentials
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static Stringprivate static Stringprivate static Stringprivate static org.apache.hadoop.minikdc.MiniKdcprivate static final Fileprivate static final Stringprivate static final HBaseTestingUtilprivate static final HBaseTestingUtil -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidSets the security firstly for getting the correct default realm.static voidcleanup()static Collection<Supplier<String>>peer()private static voidsetupCluster(HBaseTestingUtil util) private static voidvoidtestJobCredentials(Supplier<String> peer)
-
Field Details
-
KDC
-
UTIL1
-
UTIL2
-
KEYTAB_FILE
-
LOCALHOST
- See Also:
-
CLUSTER_PRINCIPAL
-
FULL_USER_PRINCIPAL
-
HTTP_PRINCIPAL
-
-
Constructor Details
-
TestVerifyReplicationSecureClusterCredentials
-
-
Method Details
-
setUpKdcServer
- Throws:
Exception
-
setupCluster
- Throws:
Exception
-
beforeClass
Sets the security firstly for getting the correct default realm.- Throws:
Exception
-
cleanup
- Throws:
IOException
-
peer
-
testJobCredentials
@ParameterizedTest @MethodSource("peer") public void testJobCredentials(Supplier<String> peer) throws Exception - Throws:
Exception
-