@InterfaceAudience.Public @InterfaceStability.Evolving public class RMDelegationTokenIdentifier extends org.apache.hadoop.yarn.security.client.YARNDelegationTokenIdentifier
Constructor and Description |
---|
RMDelegationTokenIdentifier() |
RMDelegationTokenIdentifier(Text owner,
Text renewer,
Text realUser)
Create a new delegation token identifier
|
Modifier and Type | Method and Description |
---|---|
Text |
getKind()
Get the token kind
|
getProto, readFields, write
equals, getIssueDate, getMasterKeyId, getMaxDate, getOwner, getRealUser, getRenewer, getSequenceNumber, getUser, hashCode, isEqual, setIssueDate, setMasterKeyId, setMaxDate, setOwner, setRealUser, setRenewer, setSequenceNumber, toString
getBytes, getTrackingId
public RMDelegationTokenIdentifier()
public RMDelegationTokenIdentifier(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 © 2017 Apache Software Foundation. All rights reserved.