| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
TestUser() |
| Modifier and Type | Method and Description |
|---|---|
private void |
assertUserGroup(org.apache.hadoop.hbase.security.User user,
org.apache.hbase.thirdparty.com.google.common.collect.ImmutableSet<String> groups) |
void |
testBasicAttributes() |
void |
testCacheGetGroups() |
void |
testCacheGetGroupsRoot() |
void |
testCreateUserForTestingGroupCache() |
void |
testGetCurrent()
Make sure that we're returning a result for the current user.
|
void |
testRunAs() |
void |
testSecurityForNonSecureHadoop() |
void |
testUserGroupNames() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
public TestUser()
public void testCreateUserForTestingGroupCache() throws Exception
Exceptionpublic void testCacheGetGroups() throws Exception
Exceptionpublic void testCacheGetGroupsRoot() throws Exception
Exceptionpublic void testBasicAttributes() throws Exception
Exceptionpublic void testGetCurrent() throws Exception
Exceptionpublic void testUserGroupNames() throws Exception
Exceptionprivate void assertUserGroup(org.apache.hadoop.hbase.security.User user, org.apache.hbase.thirdparty.com.google.common.collect.ImmutableSet<String> groups)
public void testSecurityForNonSecureHadoop()
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.