Class TestNamespaceCommands
java.lang.Object
org.apache.hadoop.hbase.security.access.SecureTestUtil
org.apache.hadoop.hbase.security.access.TestNamespaceCommands
@Tag("org.apache.hadoop.hbase.testclassification.SecurityTests") @Tag("org.apache.hadoop.hbase.testclassification.MediumTests")
public class TestNamespaceCommands
extends SecureTestUtil
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.security.access.SecureTestUtil
SecureTestUtil.AccessTestAction, SecureTestUtil.MasterSyncObserver -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static org.apache.hadoop.hbase.security.access.AccessControllerprivate static org.apache.hadoop.conf.Configurationprivate static org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironmentprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final org.slf4j.Loggerprivate static org.apache.hadoop.hbase.security.Userprivate static byte[]private static Stringprivate static Stringprivate static Stringprivate static org.apache.hadoop.hbase.security.Userprivate static org.apache.hadoop.hbase.security.Userprivate static org.apache.hadoop.hbase.security.Userprivate static org.apache.hadoop.hbase.security.Userprivate static org.apache.hadoop.hbase.security.Userprivate static org.apache.hadoop.hbase.security.Userprivate static org.apache.hadoop.hbase.security.Userprivate static org.apache.hadoop.hbase.security.Userprivate static org.apache.hadoop.hbase.security.Userprivate static org.apache.hadoop.hbase.security.Userprivate static org.apache.hadoop.hbase.security.Userprivate static org.apache.hadoop.hbase.security.Userprivate static org.apache.hadoop.hbase.security.Userprivate static org.apache.hadoop.hbase.security.Userprivate static org.apache.hadoop.hbase.security.Userprivate static org.apache.hadoop.hbase.security.Userprivate static org.apache.hadoop.hbase.security.Userprivate static HBaseTestingUtil -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class org.apache.hadoop.hbase.security.access.SecureTestUtil
checkGlobalPerms, checkTablePerms, checkTablePerms, configureSuperuser, convertToNamespace, createNamespace, createTable, createTable, createTable, createTable, createTable, createTable, createTable, deleteNamespace, deleteTable, deleteTable, enableSecurity, grantGlobal, grantGlobal, grantGlobalUsingAccessControlClient, grantOnNamespace, grantOnNamespace, grantOnNamespaceUsingAccessControlClient, grantOnTable, grantOnTable, grantOnTableUsingAccessControlClient, revokeFromNamespace, revokeFromNamespace, revokeFromNamespaceUsingAccessControlClient, revokeFromTable, revokeFromTable, revokeFromTableUsingAccessControlClient, revokeGlobal, revokeGlobal, revokeGlobalUsingAccessControlClient, verifyAllowed, verifyAllowed, verifyAllowed, verifyConfiguration, verifyDenied, verifyDenied, verifyIfEmptyList, verifyIfNull
-
Field Details
-
UTIL
-
LOG
-
TEST_NAMESPACE
-
TEST_NAMESPACE2
-
conf
-
CP_ENV
-
ACCESS_CONTROLLER
-
SUPERUSER
-
USER_GLOBAL_ADMIN
-
USER_GLOBAL_CREATE
-
USER_GLOBAL_WRITE
-
USER_GLOBAL_READ
-
USER_GLOBAL_EXEC
-
USER_NS_ADMIN
-
USER_NS_CREATE
-
USER_NS_WRITE
-
USER_NS_READ
-
USER_NS_EXEC
-
USER_TABLE_WRITE
-
USER_TABLE_CREATE
-
GROUP_ADMIN
- See Also:
-
GROUP_NS_ADMIN
- See Also:
-
GROUP_CREATE
- See Also:
-
GROUP_READ
- See Also:
-
GROUP_WRITE
- See Also:
-
USER_GROUP_ADMIN
-
USER_GROUP_NS_ADMIN
-
USER_GROUP_CREATE
-
USER_GROUP_READ
-
USER_GROUP_WRITE
-
TEST_TABLE
-
TEST_FAMILY
-
-
Constructor Details
-
TestNamespaceCommands
public TestNamespaceCommands()
-
-
Method Details
-
beforeClass
- Throws:
Exception
-
afterClass
- Throws:
Exception
-
testAclTableEntries
- Throws:
Exception
-
testModifyNamespace
- Throws:
Exception
-
testCreateAndDeleteNamespace
- Throws:
Exception
-
testGetNamespaceDescriptor
- Throws:
Exception
-
testListNamespaces
- Throws:
Exception
-
testGrantRevoke
- Throws:
Exception
-
testCreateTableWithNamespace
- Throws:
Exception
-