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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.flink.core.security.token.DelegationTokenProvider
org.apache.flink.core.security.token.DelegationTokenProvider.ObtainedDelegationTokens -
Field Summary
Fields inherited from interface org.apache.flink.core.security.token.DelegationTokenProvider
CONFIG_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidinit(org.apache.flink.configuration.Configuration configuration) org.apache.flink.core.security.token.DelegationTokenProvider.ObtainedDelegationTokensMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.core.security.token.DelegationTokenProvider
serviceConfigPrefix
-
Constructor Details
-
HBaseDelegationTokenProvider
public HBaseDelegationTokenProvider()
-
-
Method Details
-
serviceName
- Specified by:
serviceNamein interfaceorg.apache.flink.core.security.token.DelegationTokenProvider
-
init
- Specified by:
initin interfaceorg.apache.flink.core.security.token.DelegationTokenProvider- Throws:
Exception
-
delegationTokensRequired
- Specified by:
delegationTokensRequiredin interfaceorg.apache.flink.core.security.token.DelegationTokenProvider- Throws:
Exception
-
obtainDelegationTokens
public org.apache.flink.core.security.token.DelegationTokenProvider.ObtainedDelegationTokens obtainDelegationTokens() throws Exception- Specified by:
obtainDelegationTokensin interfaceorg.apache.flink.core.security.token.DelegationTokenProvider- Throws:
Exception
-