public interface WasbAuthorizerInterface
| Modifier and Type | Method and Description |
|---|---|
boolean |
authorize(String wasbAbolutePath,
String accessType,
String owner)
Authorizer API to authorize access in WASB.
|
void |
init(org.apache.hadoop.conf.Configuration conf)
Initializer method
|
void init(org.apache.hadoop.conf.Configuration conf) throws WasbAuthorizationException, IOException
conf - - Configuration objectWasbAuthorizationException - - On authorization exceptionsIOException - - When not able to reach the authorizerboolean authorize(String wasbAbolutePath, String accessType, String owner) throws WasbAuthorizationException, IOException
wasbAbolutePath - : Absolute WASB Path used for access.accessType - : Type of accessowner - : owner of the file/folder specified in the wasb pathWasbAuthorizationException - - On authorization exceptionsIOException - - When not able to reach the authorizerCopyright © 2008–2020 Apache Software Foundation. All rights reserved.