public class DelegationTokenIdentifier
extends org.apache.hadoop.security.token.delegation.AbstractDelegationTokenIdentifier
Modifier and Type | Field and Description |
---|---|
static org.apache.hadoop.io.Text |
HIVE_DELEGATION_KIND |
Constructor and Description |
---|
DelegationTokenIdentifier()
Create an empty delegation token identifier for reading into.
|
DelegationTokenIdentifier(org.apache.hadoop.io.Text owner,
org.apache.hadoop.io.Text renewer,
org.apache.hadoop.io.Text realUser)
Create a new delegation token identifier
|
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.io.Text |
getKind() |
equals, getIssueDate, getMasterKeyId, getMaxDate, getOwner, getRealUser, getRenewer, getSequenceNumber, getUser, hashCode, isEqual, readFields, setIssueDate, setMasterKeyId, setMaxDate, setOwner, setRealUser, setRenewer, setSequenceNumber, toString, write
public static final org.apache.hadoop.io.Text HIVE_DELEGATION_KIND
public DelegationTokenIdentifier()
public DelegationTokenIdentifier(org.apache.hadoop.io.Text owner, org.apache.hadoop.io.Text renewer, org.apache.hadoop.io.Text realUser)
owner
- the effective username of the token ownerrenewer
- the username of the renewerrealUser
- the real username of the token ownerCopyright © 2017 The Apache Software Foundation. All rights reserved.