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.TimelineDelegationTokenIdentifier
All Implemented Interfaces:
Writable

@InterfaceAudience.Public
@InterfaceStability.Unstable
public class TimelineDelegationTokenIdentifier
extends org.apache.hadoop.security.token.delegation.AbstractDelegationTokenIdentifier


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.security.token.delegation.AbstractDelegationTokenIdentifier
equals, getIssueDate, getMasterKeyId, getMaxDate, getOwner, getRealUser, getRenewer, getSequenceNumber, getUser, hashCode, readFields, setIssueDate, setMasterKeyId, setMaxDate, setSequenceNumber, toString, write
 
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.