@InterfaceAudience.Private public class ShadeTokenIdentifier extends org.apache.hadoop.security.token.TokenIdentifier
| Modifier and Type | Field and Description |
|---|---|
private static org.apache.hadoop.io.Text |
TEXT_TOKEN_KIND |
private String |
username |
| Constructor and Description |
|---|
ShadeTokenIdentifier() |
ShadeTokenIdentifier(String username) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.io.Text |
getKind() |
org.apache.hadoop.security.UserGroupInformation |
getUser() |
void |
readFields(DataInput in) |
void |
write(DataOutput out) |
private static final org.apache.hadoop.io.Text TEXT_TOKEN_KIND
public ShadeTokenIdentifier()
public ShadeTokenIdentifier(String username)
public void write(DataOutput out) throws IOException
IOExceptionpublic void readFields(DataInput in) throws IOException
IOExceptionpublic org.apache.hadoop.io.Text getKind()
getKind in class org.apache.hadoop.security.token.TokenIdentifierpublic org.apache.hadoop.security.UserGroupInformation getUser()
getUser in class org.apache.hadoop.security.token.TokenIdentifierCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.