@InterfaceAudience.Public
@InterfaceStability.Evolving
public class TimelineDelegationTokenIdentifier
extends org.apache.hadoop.yarn.security.client.YARNDelegationTokenIdentifier
Constructor and Description |
---|
TimelineDelegationTokenIdentifier() |
TimelineDelegationTokenIdentifier(Text owner,
Text renewer,
Text realUser)
Create a new timeline delegation token identifier
|
Modifier and Type | Method and Description |
---|---|
Text |
getKind()
Get the token kind
|
getProto, readFields, readFieldsInOldFormat, write, writeInOldFormat
equals, getIssueDate, getMasterKeyId, getMaxDate, getOwner, getRealUser, getRenewer, getSequenceNumber, getUser, hashCode, isEqual, setIssueDate, setMasterKeyId, setMaxDate, setOwner, setRealUser, setRenewer, setSequenceNumber, toString
getBytes, getTrackingId
public static final Text KIND_NAME
public TimelineDelegationTokenIdentifier()
public TimelineDelegationTokenIdentifier(Text owner, Text renewer, Text realUser)
owner
- the effective username of the token ownerrenewer
- the username of the renewerrealUser
- the real username of the token ownerpublic Text getKind()
TokenIdentifier
getKind
in class AbstractDelegationTokenIdentifier
Copyright © 2019 Apache Software Foundation. All rights reserved.