WasbAuthorizerInterfacepublic class RemoteWasbAuthorizerImpl extends java.lang.Object implements WasbAuthorizerInterface
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.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 | Description |
|---|---|
RemoteWasbAuthorizerImpl() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
authorize(java.lang.String wasbAbsolutePath,
java.lang.String accessType,
java.lang.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 java.lang.String KEY_REMOTE_AUTH_SERVICE_URLS
@VisibleForTesting public void updateWasbRemoteCallHelper(WasbRemoteCallHelper helper)
public void init(org.apache.hadoop.conf.Configuration conf)
throws java.io.IOException
WasbAuthorizerInterfaceinit in interface WasbAuthorizerInterfaceconf - - Configuration objectWasbAuthorizationException - - On authorization exceptionsjava.io.IOException - - When not able to reach the authorizerpublic boolean authorize(java.lang.String wasbAbsolutePath,
java.lang.String accessType,
java.lang.String resourceOwner)
throws java.io.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 exceptionsjava.io.IOException - - When not able to reach the authorizerCopyright © 2008–2025 Apache Software Foundation. All rights reserved.