public final class SystemUserGroupAuthPolicy extends java.lang.Object implements AuthPolicy
| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_GID |
static long |
DEFAULT_UID |
| Constructor and Description |
|---|
SystemUserGroupAuthPolicy(FileSystem fileSystem,
AlluxioConfiguration conf,
AbstractFuseFileSystem fuseFileSystem) |
| Modifier and Type | Method and Description |
|---|---|
void |
setUserGroupIfNeeded(AlluxioURI uri)
Sets user and group if needed.
|
public static final long DEFAULT_UID
public static final long DEFAULT_GID
public SystemUserGroupAuthPolicy(FileSystem fileSystem, AlluxioConfiguration conf, AbstractFuseFileSystem fuseFileSystem)
fileSystem - the Alluxio file systemconf - alluxio configurationfuseFileSystem - AbstractFuseFileSystempublic void setUserGroupIfNeeded(AlluxioURI uri) throws java.lang.Exception
AuthPolicysetUserGroupIfNeeded in interface AuthPolicyuri - the path urijava.lang.ExceptionCopyright © 2021. All Rights Reserved.