@InterfaceAudience.Public @InterfaceStability.Evolving public class ClientToAMTokenIdentifier extends org.apache.hadoop.security.token.TokenIdentifier
| Constructor and Description | 
|---|
| ClientToAMTokenIdentifier() | 
| ClientToAMTokenIdentifier(ApplicationAttemptId id,
                                                  String client) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object other) | 
| ApplicationAttemptId | getApplicationAttemptID() | 
| String | getClientName() | 
| Text | getKind()Get the token kind | 
| org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.ClientToAMTokenIdentifierProto | getProto() | 
| org.apache.hadoop.security.UserGroupInformation | getUser()Get the Ugi with the username encoded in the token identifier | 
| int | hashCode() | 
| void | readFields(DataInput in)Deserialize the fields of this object from  in. | 
| String | toString() | 
| void | write(DataOutput out)Serialize the fields of this object to  out. | 
public ClientToAMTokenIdentifier()
public ClientToAMTokenIdentifier(ApplicationAttemptId id, String client)
public ApplicationAttemptId getApplicationAttemptID()
public String getClientName()
public org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.ClientToAMTokenIdentifierProto getProto()
public void write(DataOutput out) throws IOException
Writableout.out - DataOuput to serialize this object into.IOExceptionpublic void readFields(DataInput in) throws IOException
Writablein.  
 
 For efficiency, implementations should attempt to re-use storage in the existing object where possible.
in - DataInput to deseriablize this object from.IOExceptionpublic Text getKind()
org.apache.hadoop.security.token.TokenIdentifiergetKind in class org.apache.hadoop.security.token.TokenIdentifierpublic org.apache.hadoop.security.UserGroupInformation getUser()
org.apache.hadoop.security.token.TokenIdentifiergetUser in class org.apache.hadoop.security.token.TokenIdentifierCopyright © 2015 Apache Software Foundation. All Rights Reserved.