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