public static class AccessChecker.InputUser extends User
User.SecureHadoopUser, User.TestingGroupsHBASE_SECURITY_AUTHORIZATION_CONF_KEY, HBASE_SECURITY_CONF_KEY, ugi| Constructor and Description |
|---|
InputUser(String name,
String[] groups) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getGroupNames() |
String |
getName() |
String |
getShortName() |
<T> T |
runAs(PrivilegedAction<T> action) |
<T> T |
runAs(PrivilegedExceptionAction<T> action) |
String |
toString() |
addToken, create, createUserForTesting, equals, getCurrent, getToken, getTokens, getUGI, hashCode, isHBaseSecurityEnabled, isLoginFromKeytab, isSecurityEnabled, login, login, runAsLoginUser, shouldLoginFromKeytabpublic String getShortName()
getShortName in class Userpublic String[] getGroupNames()
getGroupNames in class Userpublic <T> T runAs(PrivilegedAction<T> action)
public <T> T runAs(PrivilegedExceptionAction<T> action) throws IOException, InterruptedException
runAs in class UserIOExceptionInterruptedExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.