Class HadoopDelegationTokenReceiver
- java.lang.Object
-
- org.apache.flink.runtime.security.token.hadoop.HadoopDelegationTokenReceiver
-
- All Implemented Interfaces:
org.apache.flink.core.security.token.DelegationTokenReceiver
- Direct Known Subclasses:
HadoopFSDelegationTokenReceiver
,HBaseDelegationTokenReceiver
@Internal public abstract class HadoopDelegationTokenReceiver extends Object implements org.apache.flink.core.security.token.DelegationTokenReceiver
Hadoop delegation token receiver base class.
-
-
Constructor Summary
Constructors Constructor Description HadoopDelegationTokenReceiver()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
init(org.apache.flink.configuration.Configuration configuration)
void
onNewTokensObtained(byte[] tokens)
abstract String
serviceName()
-
-
-
Method Detail
-
serviceName
public abstract String serviceName()
- Specified by:
serviceName
in interfaceorg.apache.flink.core.security.token.DelegationTokenReceiver
-
init
public void init(org.apache.flink.configuration.Configuration configuration) throws Exception
- Specified by:
init
in interfaceorg.apache.flink.core.security.token.DelegationTokenReceiver
- Throws:
Exception
-
-