@InterfaceAudience.LimitedPrivate(value="authorization-subsystems")
@InterfaceStability.Unstable
public interface AbfsAuthorizer
| Modifier and Type | Method and Description |
|---|---|
void |
init()
Initialize authorizer for Azure Blob File System.
|
boolean |
isAuthorized(org.apache.hadoop.fs.permission.FsAction action,
org.apache.hadoop.fs.Path... absolutePaths)
Checks if the provided
FsAction is allowed on the provided Paths. |
void init() throws AbfsAuthorizationException, IOException
AbfsAuthorizationException - if unable to initialize the authorizer.IOException - network problems or similar.IllegalArgumentException - if the required parameters are not provided.boolean isAuthorized(org.apache.hadoop.fs.permission.FsAction action,
org.apache.hadoop.fs.Path... absolutePaths)
throws AbfsAuthorizationException,
IOException
FsAction is allowed on the provided Paths.action - the FsAction being requested on the provided Paths.absolutePaths - The absolute paths of the storage being accessed.AbfsAuthorizationException - on authorization failure.IOException - network problems or similar.IllegalArgumentException - if the required parameters are not provided.Copyright © 2008–2020 Apache Software Foundation. All rights reserved.