@LimitedPrivate("authorization-subsystems")
@Unstable
public interface CustomDelegationTokenManager
bind() called
after initialize) and before any calls to
getDelegationToken(String).
It will not be bound during token renew or cancel operations: there is
no Filesystem to bind to in those operations.| 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.
|
void |
initialize(org.apache.hadoop.conf.Configuration configuration) |
Initialize with supported configuration.
|
long |
renewDelegationToken(org.apache.hadoop.security.token.Token<?> token) |
Renew the delegation token.
|
void initialize(org.apache.hadoop.conf.Configuration configuration)
throws java.io.IOException
configuration - Configuration objectjava.io.IOException - if instance can not be configured.org.apache.hadoop.security.token.Token<org.apache.hadoop.security.token.delegation.web.DelegationTokenIdentifier> getDelegationToken(java.lang.String renewer)
throws java.io.IOException
renewer - delegation token renewerjava.io.IOException - when error in getting the delegation tokenlong renewDelegationToken(org.apache.hadoop.security.token.Token<?> token)
throws java.io.IOException
token - delegation token.java.io.IOException - when error in renewing the delegation tokenvoid cancelDelegationToken(org.apache.hadoop.security.token.Token<?> token)
throws java.io.IOException
token - delegation token.java.io.IOException - when error in cancelling the delegation token.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.