Package org.apache.hadoop.hbase.rsgroup
Class TestRSGroupsWithACL
java.lang.Object
org.apache.hadoop.hbase.security.access.SecureTestUtil
org.apache.hadoop.hbase.rsgroup.TestRSGroupsWithACL
Performs authorization checks for rsgroup operations, according to different levels of authorized
users.
-
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.AccessCheckerstatic final HBaseClassTestRuleprivate static org.apache.hadoop.conf.Configurationprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final org.slf4j.Loggerprivate static org.apache.hadoop.hbase.master.HMasterprivate static org.apache.hadoop.hbase.security.Userprivate static org.apache.hadoop.hbase.client.Connectionprivate static byte[]private static org.apache.hadoop.hbase.TableNameprivate static final HBaseTestingUtilprivate 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.UserProvider -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidcheckPermission(String request) private static voidcleanUp()private org.apache.hadoop.hbase.security.Userstatic voidprivate static voidstatic voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidprivate voidMethods 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
-
CLASS_RULE
-
LOG
-
TEST_TABLE
-
TEST_UTIL
-
conf
-
systemUserConnection
-
SUPERUSER
-
USER_ADMIN
-
USER_RW
-
USER_RO
-
USER_OWNER
-
USER_CREATE
-
USER_NONE
-
GROUP_ADMIN
- See Also:
-
GROUP_CREATE
- See Also:
-
GROUP_READ
- See Also:
-
GROUP_WRITE
- See Also:
-
USER_GROUP_ADMIN
-
USER_GROUP_CREATE
-
USER_GROUP_READ
-
USER_GROUP_WRITE
-
TEST_FAMILY
-
master
-
accessChecker
-
userProvider
-
-
Constructor Details
-
TestRSGroupsWithACL
public TestRSGroupsWithACL()
-
-
Method Details
-
setupBeforeClass
- Throws:
Exception
-
checkPermission
- Throws:
IOException
-
getActiveUser
- Throws:
IOException
-
setUpTableAndUserPermissions
- Throws:
Exception
-
cleanUp
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
testGetRSGroupInfo
- Throws:
Exception
-
testGetRSGroupInfoOfTable
- Throws:
Exception
-
testMoveServers
- Throws:
Exception
-
testMoveTables
- Throws:
Exception
-
testAddRSGroup
- Throws:
Exception
-
testRemoveRSGroup
- Throws:
Exception
-
testBalanceRSGroup
- Throws:
Exception
-
testListRSGroup
- Throws:
Exception
-
testGetRSGroupInfoOfServer
- Throws:
Exception
-
testMoveServersAndTables
- Throws:
Exception
-
testRemoveServers
- Throws:
Exception
-
testRenameRSGroup
- Throws:
Exception
-
testUpdateRSGroupConfig
- Throws:
Exception
-
validateAdminPermissions
- Throws:
Exception
-