@InterfaceAudience.Public @InterfaceStability.Unstable public class SingleUGIResolver extends UGIResolver implements Configurable
Modifier and Type | Field and Description |
---|---|
static String |
GID |
static String |
GROUP |
static String |
UID |
static String |
USER |
GROUP_STRID_OFFSET, USER_GROUP_STRID_MASK, USER_STRID_OFFSET
Constructor and Description |
---|
SingleUGIResolver() |
Modifier and Type | Method and Description |
---|---|
void |
addGroup(String name) |
void |
addUser(String name) |
Configuration |
getConf()
Return the configuration used by this object.
|
String |
group(String s) |
void |
setConf(Configuration conf)
Set the configuration to be used by this object.
|
String |
user(String s) |
addGroup, addUser, buildPermissionStatus, getPermissionsProto, permission, resetUGInfo, resolve, ugiMap
public static final String UID
public static final String USER
public static final String GID
public static final String GROUP
public void setConf(Configuration conf)
Configurable
setConf
in interface Configurable
conf
- configuration to be usedpublic Configuration getConf()
Configurable
getConf
in interface Configurable
public String user(String s)
user
in class UGIResolver
public String group(String s)
group
in class UGIResolver
public void addUser(String name)
addUser
in class UGIResolver
public void addGroup(String name)
addGroup
in class UGIResolver
Copyright © 2023 Apache Software Foundation. All rights reserved.