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