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
Exception
public void testCacheGetGroups() throws Exception
Exception
public void testCacheGetGroupsRoot() throws Exception
Exception
public void testBasicAttributes() throws Exception
Exception
public void testGetCurrent() throws Exception
Exception
public void testUserGroupNames() throws Exception
Exception
private 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–2020 The Apache Software Foundation. All rights reserved.