Package org.apache.hadoop.hbase.security
Class TestUsersOperationsWithSecureHadoop
java.lang.Object
org.apache.hadoop.hbase.security.TestUsersOperationsWithSecureHadoop
@Tag("org.apache.hadoop.hbase.testclassification.SecurityTests") @Tag("org.apache.hadoop.hbase.testclassification.SmallTests")
public class TestUsersOperationsWithSecureHadoop
extends Object
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TEST_UTIL
-
KEYTAB_FILE
-
KDC
-
HOST
-
PRINCIPAL
-
CLIENT_NAME
-
OTHER_CLIENT_NAME
-
-
Constructor Details
-
TestUsersOperationsWithSecureHadoop
public TestUsersOperationsWithSecureHadoop()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
IOException
-
testUserLoginInSecureHadoop
test login with security enabled configuration To run this test, we must specify the following system properties:hbase.regionserver.kerberos.principal
hbase.regionserver.keytab.file
- Throws:
Exception
-
testLoginWithUserKeytabAndPrincipal
- Throws:
Exception
-
testAuthUtilLoginWithExistingLoginUser
- Throws:
Exception
-
testAuthUtilLoginWithDifferentExistingUser
- Throws:
Exception
-