org.apache.hadoop.yarn.security.client
Class TimelineDelegationTokenIdentifier

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

@InterfaceAudience.Public
@InterfaceStability.Unstable
public class TimelineDelegationTokenIdentifier
extends org.apache.hadoop.yarn.security.client.YARNDelegationTokenIdentifier


Field Summary
static Text KIND_NAME
           
 
Constructor Summary
TimelineDelegationTokenIdentifier()
           
TimelineDelegationTokenIdentifier(Text owner, Text renewer, Text realUser)
          Create a new timeline delegation token identifier
 
Method Summary
 Text getKind()
          Get the token kind
 
Methods inherited from class org.apache.hadoop.yarn.security.client.YARNDelegationTokenIdentifier
getProto, readFields, write
 
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
 
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 Detail

KIND_NAME

public static final Text KIND_NAME
Constructor Detail

TimelineDelegationTokenIdentifier

public TimelineDelegationTokenIdentifier()

TimelineDelegationTokenIdentifier

public TimelineDelegationTokenIdentifier(Text owner,
                                         Text renewer,
                                         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 Detail

getKind

public Text getKind()
Description copied from class: org.apache.hadoop.security.token.TokenIdentifier
Get the token kind

Specified by:
getKind in class org.apache.hadoop.security.token.delegation.AbstractDelegationTokenIdentifier
Returns:
the kind of the token


Copyright © 2014 Apache Software Foundation. All Rights Reserved.