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:
org.apache.hadoop.io.Writable

@InterfaceAudience.Public
@InterfaceStability.Unstable
public class TimelineDelegationTokenIdentifier
extends YARNDelegationTokenIdentifier


Nested Class Summary
static class TimelineDelegationTokenIdentifier.Renewer
           
 
Field Summary
static org.apache.hadoop.io.Text KIND_NAME
           
 
Constructor Summary
TimelineDelegationTokenIdentifier()
           
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
 org.apache.hadoop.io.Text getKind()
           
 
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 org.apache.hadoop.io.Text KIND_NAME
Constructor Detail

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 Detail

getKind

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


Copyright © 2014 Apache Software Foundation. All Rights Reserved.