@InterfaceAudience.LimitedPrivate(value="authorization-subsystems")
@InterfaceStability.Unstable
public interface CustomDelegationTokenManager
| Modifier and Type | Method and 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(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 IOException
configuration - Configuration objectIOException - if instance can not be configured.org.apache.hadoop.security.token.Token<org.apache.hadoop.security.token.delegation.web.DelegationTokenIdentifier> getDelegationToken(String renewer) throws IOException
renewer - delegation token renewerIOException - when error in getting the delegation tokenlong renewDelegationToken(org.apache.hadoop.security.token.Token<?> token)
throws IOException
token - delegation token.IOException - when error in renewing the delegation tokenvoid cancelDelegationToken(org.apache.hadoop.security.token.Token<?> token)
throws IOException
token - delegation token.IOException - when error in cancelling the delegation token.Copyright © 2008–2020 Apache Software Foundation. All rights reserved.