public final class SystemUserGroupAuthPolicy extends 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 Exception
AuthPolicy
setUserGroupIfNeeded
in interface AuthPolicy
uri
- the path uriException
Copyright © 2023. All Rights Reserved.