WasbDelegationTokenManagerpublic class RemoteWasbDelegationTokenManager extends java.lang.Object implements WasbDelegationTokenManager
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
DT_MANAGER_HTTP_CLIENT_RETRY_POLICY_ENABLED_KEY |
Configuration key to enable http retry policy for delegation token service calls.
|
static java.lang.String |
DT_MANAGER_HTTP_CLIENT_RETRY_POLICY_SPEC_KEY |
Configuration key for delegation token service http retry policy spec.
|
static java.lang.String |
KEY_DELEGATION_TOKEN_SERVICE_URLS |
Configuration parameter name expected in the configuration
object to provide the url of the delegation token service to fetch the delegation tokens.
|
| Constructor | Description |
|---|---|
RemoteWasbDelegationTokenManager(org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
cancelDelegationToken(org.apache.hadoop.security.token.Token<?> token) |
Cancel the delegation token
|
org.apache.hadoop.security.token.Token<org.apache.hadoop.security.token.delegation.web.DelegationTokenIdentifier> |
getDelegationToken(java.lang.String renewer) |
Get Delegation token
|
long |
renewDelegationToken(org.apache.hadoop.security.token.Token<?> token) |
Renew the delegation token
|
public static final java.lang.String KEY_DELEGATION_TOKEN_SERVICE_URLS
public static final java.lang.String DT_MANAGER_HTTP_CLIENT_RETRY_POLICY_ENABLED_KEY
public static final java.lang.String DT_MANAGER_HTTP_CLIENT_RETRY_POLICY_SPEC_KEY
public RemoteWasbDelegationTokenManager(org.apache.hadoop.conf.Configuration conf)
throws java.io.IOException
java.io.IOExceptionpublic org.apache.hadoop.security.token.Token<org.apache.hadoop.security.token.delegation.web.DelegationTokenIdentifier> getDelegationToken(java.lang.String renewer)
throws java.io.IOException
WasbDelegationTokenManagergetDelegationToken in interface WasbDelegationTokenManagerrenewer - delegation token renewerjava.io.IOException - when error in getting the delegation tokenpublic long renewDelegationToken(org.apache.hadoop.security.token.Token<?> token)
throws java.io.IOException
WasbDelegationTokenManagerrenewDelegationToken in interface WasbDelegationTokenManagertoken - delegation token.java.io.IOException - when error in renewing the delegation tokenpublic void cancelDelegationToken(org.apache.hadoop.security.token.Token<?> token)
throws java.io.IOException
WasbDelegationTokenManagercancelDelegationToken in interface WasbDelegationTokenManagertoken - delegation token.java.io.IOException - when error in cancelling the delegation token.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.