Class TimelineDelegationTokenIdentifier

java.lang.Object
org.apache.hadoop.security.token.TokenIdentifier
org.apache.hadoop.security.token.delegation.AbstractDelegationTokenIdentifier
org.apache.hadoop.yarn.security.client.YARNDelegationTokenIdentifier
org.apache.hadoop.yarn.security.client.TimelineDelegationTokenIdentifier
All Implemented Interfaces:
org.apache.hadoop.io.Writable

@Public @Evolving public class TimelineDelegationTokenIdentifier extends YARNDelegationTokenIdentifier
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.apache.hadoop.io.Text
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    TimelineDelegationTokenIdentifier(org.apache.hadoop.io.Text owner, org.apache.hadoop.io.Text renewer, org.apache.hadoop.io.Text realUser)
    Create a new timeline delegation token identifier
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.hadoop.io.Text
     

    Methods inherited from class org.apache.hadoop.yarn.security.client.YARNDelegationTokenIdentifier

    getProto, newInstance, readFields, readFieldsInOldFormat, write, writeInOldFormat

    Methods inherited from class org.apache.hadoop.security.token.delegation.AbstractDelegationTokenIdentifier

    equals, getIssueDate, getMasterKeyId, getMaxDate, getOwner, getRealUser, getRenewer, getSequenceNumber, getUser, hashCode, isEqual, setIssueDate, setMasterKeyId, setMaxDate, setOwner, setRealUser, setRenewer, setSequenceNumber, toString, toStringStable

    Methods inherited from class org.apache.hadoop.security.token.TokenIdentifier

    getBytes, getTrackingId

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • KIND_NAME

      public static final org.apache.hadoop.io.Text KIND_NAME
  • Constructor Details

    • TimelineDelegationTokenIdentifier

      public TimelineDelegationTokenIdentifier()
    • TimelineDelegationTokenIdentifier

      public TimelineDelegationTokenIdentifier(org.apache.hadoop.io.Text owner, org.apache.hadoop.io.Text renewer, org.apache.hadoop.io.Text realUser)
      Create a new timeline delegation token identifier
      Parameters:
      owner - the effective username of the token owner
      renewer - the username of the renewer
      realUser - the real username of the token owner
  • Method Details

    • getKind

      public org.apache.hadoop.io.Text getKind()
      Specified by:
      getKind in class org.apache.hadoop.security.token.delegation.AbstractDelegationTokenIdentifier