|
||||||||||
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
public abstract class AbstractDelegationTokenIdentifier
Constructor Summary | |
---|---|
AbstractDelegationTokenIdentifier()
|
|
AbstractDelegationTokenIdentifier(Text owner,
Text renewer,
Text realUser)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
long |
getIssueDate()
|
abstract Text |
getKind()
Get the token kind |
int |
getMasterKeyId()
|
long |
getMaxDate()
|
Text |
getRenewer()
|
int |
getSequenceNumber()
|
UserGroupInformation |
getUser()
Get the username encoded in the token identifier |
int |
hashCode()
|
void |
readFields(DataInput in)
Deserialize the fields of this object from in . |
void |
setIssueDate(long issueDate)
|
void |
setMasterKeyId(int newId)
|
void |
setMaxDate(long maxDate)
|
void |
setSequenceNumber(int seqNum)
|
String |
toString()
|
void |
write(DataOutput out)
Serialize the fields of this object to out . |
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 |
Constructor Detail |
---|
public AbstractDelegationTokenIdentifier()
public AbstractDelegationTokenIdentifier(Text owner, Text renewer, Text realUser)
Method Detail |
---|
public abstract Text getKind()
TokenIdentifier
getKind
in class TokenIdentifier
public UserGroupInformation getUser()
getUser
in class TokenIdentifier
public Text getRenewer()
public void setIssueDate(long issueDate)
public long getIssueDate()
public void setMaxDate(long maxDate)
public long getMaxDate()
public void setSequenceNumber(int seqNum)
public int getSequenceNumber()
public void setMasterKeyId(int newId)
public int getMasterKeyId()
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void readFields(DataInput in) throws IOException
Writable
in
.
For efficiency, implementations should attempt to re-use storage in the existing object where possible.
in
- DataInput
to deseriablize this object from.
IOException
public void write(DataOutput out) throws IOException
Writable
out
.
out
- DataOuput
to serialize this object into.
IOException
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |