Class HBaseDelegationTokenProvider
- java.lang.Object
-
- org.apache.flink.runtime.security.token.hadoop.HBaseDelegationTokenProvider
-
- All Implemented Interfaces:
org.apache.flink.core.security.token.DelegationTokenProvider
@Internal public class HBaseDelegationTokenProvider extends Object implements org.apache.flink.core.security.token.DelegationTokenProvider
Delegation token provider implementation for HBase. Basically it would be good to move this to flink-connector-hbase-base but HBase connection can be made without the connector. All in all I tend to move this but that would be a breaking change.
-
-
Constructor Summary
Constructors Constructor Description HBaseDelegationTokenProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
delegationTokensRequired()
void
init(org.apache.flink.configuration.Configuration configuration)
org.apache.flink.core.security.token.DelegationTokenProvider.ObtainedDelegationTokens
obtainDelegationTokens()
String
serviceName()
-
-
-
Method Detail
-
serviceName
public String serviceName()
- Specified by:
serviceName
in interfaceorg.apache.flink.core.security.token.DelegationTokenProvider
-
init
public void init(org.apache.flink.configuration.Configuration configuration) throws Exception
- Specified by:
init
in interfaceorg.apache.flink.core.security.token.DelegationTokenProvider
- Throws:
Exception
-
delegationTokensRequired
public boolean delegationTokensRequired() throws Exception
- Specified by:
delegationTokensRequired
in interfaceorg.apache.flink.core.security.token.DelegationTokenProvider
- Throws:
Exception
-
-