public class RemoteWasbAuthorizerImpl extends Object implements WasbAuthorizerInterface
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_REMOTE_AUTH_SERVICE_URLS
Configuration parameter name expected in the Configuration object to
provide the urls of the remote service instances.
|
static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
RemoteWasbAuthorizerImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authorize(String wasbAbsolutePath,
String accessType,
String resourceOwner)
Authorizer API to authorize access in WASB.
|
void |
init(org.apache.hadoop.conf.Configuration conf)
Initializer method
|
void |
updateWasbRemoteCallHelper(WasbRemoteCallHelper helper) |
public static final org.slf4j.Logger LOG
public static final String KEY_REMOTE_AUTH_SERVICE_URLS
public void updateWasbRemoteCallHelper(WasbRemoteCallHelper helper)
public void init(org.apache.hadoop.conf.Configuration conf)
throws IOException
WasbAuthorizerInterfaceinit in interface WasbAuthorizerInterfaceconf - - Configuration objectWasbAuthorizationException - - On authorization exceptionsIOException - - When not able to reach the authorizerpublic boolean authorize(String wasbAbsolutePath, String accessType, String resourceOwner) throws IOException
WasbAuthorizerInterfaceauthorize in interface WasbAuthorizerInterfacewasbAbsolutePath - : Absolute WASB Path used for access.accessType - : Type of accessresourceOwner - : 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.