@InterfaceAudience.Private public class DelegationTokenIdentifier extends AbstractDelegationTokenIdentifier
Modifier and Type | Field and Description |
---|---|
static Text |
HDFS_DELEGATION_KIND |
Constructor and Description |
---|
DelegationTokenIdentifier()
Create an empty delegation token identifier for reading into.
|
DelegationTokenIdentifier(Text owner,
Text renewer,
Text realUser)
Create a new delegation token identifier
|
Modifier and Type | Method and Description |
---|---|
Text |
getKind()
Get the token kind
|
static String |
stringifyToken(Token<?> token) |
String |
toString() |
equals, getIssueDate, getMasterKeyId, getMaxDate, getOwner, getRealUser, getRenewer, getSequenceNumber, getUser, hashCode, readFields, setIssueDate, setMasterKeyId, setMaxDate, setSequenceNumber, write
getBytes, getTrackingId
public static final Text HDFS_DELEGATION_KIND
public DelegationTokenIdentifier()
public Text getKind()
TokenIdentifier
getKind
in class AbstractDelegationTokenIdentifier
public String toString()
toString
in class AbstractDelegationTokenIdentifier
public static String stringifyToken(Token<?> token) throws IOException
IOException
Copyright © 2013 Apache Software Foundation. All rights reserved.