|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.security.token.TokenIdentifier org.apache.hadoop.security.token.delegation.AbstractDelegationTokenIdentifier org.apache.hadoop.mapreduce.security.token.delegation.DelegationTokenIdentifier
@InterfaceAudience.Private @InterfaceStability.Unstable public class DelegationTokenIdentifier
A delegation token identifier that is specific to MapReduce.
Field Summary | |
---|---|
static org.apache.hadoop.io.Text |
MAPREDUCE_DELEGATION_KIND
|
Constructor Summary | |
---|---|
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 |
Method Summary | |
---|---|
org.apache.hadoop.io.Text |
getKind()
|
Methods inherited from class org.apache.hadoop.security.token.delegation.AbstractDelegationTokenIdentifier |
---|
equals, getIssueDate, getMasterKeyId, getMaxDate, getOwner, getRealUser, getRenewer, getSequenceNumber, getUser, hashCode, readFields, setIssueDate, setMasterKeyId, setMaxDate, setSequenceNumber, toString, write |
Methods inherited from class org.apache.hadoop.security.token.TokenIdentifier |
---|
getBytes |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final org.apache.hadoop.io.Text MAPREDUCE_DELEGATION_KIND
Constructor Detail |
---|
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 ownerMethod Detail |
---|
public org.apache.hadoop.io.Text getKind()
getKind
in class org.apache.hadoop.security.token.delegation.AbstractDelegationTokenIdentifier
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |