@InterfaceAudience.Public @InterfaceStability.Evolving public abstract class TokenIdentifier extends Object implements Writable
Constructor and Description |
---|
TokenIdentifier() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes()
Get the bytes for the token identifier
|
abstract Text |
getKind()
Get the token kind
|
String |
getTrackingId()
Returns a tracking identifier that can be used to associate usages of a
token across multiple client sessions.
|
abstract UserGroupInformation |
getUser()
Get the Ugi with the username encoded in the token identifier
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
readFields, write
public abstract Text getKind()
public abstract UserGroupInformation getUser()
public byte[] getBytes()
public String getTrackingId()
getBytes()
.Copyright © 2022 Apache Software Foundation. All rights reserved.