@Internal public class HBaseDelegationTokenProvider extends Object implements DelegationTokenProvider
DelegationTokenProvider.ObtainedDelegationTokens
CONFIG_PREFIX
Constructor and Description |
---|
HBaseDelegationTokenProvider() |
Modifier and Type | Method and Description |
---|---|
boolean |
delegationTokensRequired()
Return whether delegation tokens are required for this service.
|
void |
init(Configuration configuration)
Called by DelegationTokenManager to initialize provider after construction.
|
DelegationTokenProvider.ObtainedDelegationTokens |
obtainDelegationTokens()
Obtain delegation tokens for this service.
|
String |
serviceName()
Name of the service to provide delegation tokens.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
serviceConfigPrefix
public String serviceName()
DelegationTokenProvider
serviceName
in interface DelegationTokenProvider
public void init(Configuration configuration) throws Exception
DelegationTokenProvider
init
in interface DelegationTokenProvider
configuration
- Configuration to initialize the provider.Exception
public boolean delegationTokensRequired() throws Exception
DelegationTokenProvider
delegationTokensRequired
in interface DelegationTokenProvider
Exception
public DelegationTokenProvider.ObtainedDelegationTokens obtainDelegationTokens() throws Exception
DelegationTokenProvider
obtainDelegationTokens
in interface DelegationTokenProvider
Exception
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.