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.
  • Field Summary

    Fields inherited from interface org.apache.flink.core.security.token.DelegationTokenReceiver

    CONFIG_PREFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    init(org.apache.flink.configuration.Configuration configuration)
     
    void
    onNewTokensObtained(byte[] tokens)
     
    abstract String
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.flink.core.security.token.DelegationTokenReceiver

    serviceConfigPrefix
  • Constructor Details

    • HadoopDelegationTokenReceiver

      public HadoopDelegationTokenReceiver()
  • Method Details

    • serviceName

      public abstract String serviceName()
      Specified by:
      serviceName in interface org.apache.flink.core.security.token.DelegationTokenReceiver
    • init

      public void init(org.apache.flink.configuration.Configuration configuration) throws Exception
      Specified by:
      init in interface org.apache.flink.core.security.token.DelegationTokenReceiver
      Throws:
      Exception
    • onNewTokensObtained

      public void onNewTokensObtained(byte[] tokens) throws Exception
      Specified by:
      onNewTokensObtained in interface org.apache.flink.core.security.token.DelegationTokenReceiver
      Throws:
      Exception