Class DelegationTokenIdentifier
java.lang.Object
org.apache.hadoop.security.token.TokenIdentifier
org.apache.hadoop.security.token.delegation.AbstractDelegationTokenIdentifier
org.apache.hadoop.security.token.delegation.web.DelegationTokenIdentifier
- All Implemented Interfaces:
Writable
- Direct Known Subclasses:
KMSDelegationToken.KMSDelegationTokenIdentifier
Concrete delegation token identifier used by
DelegationTokenManager,
KerberosDelegationTokenAuthenticationHandler and
DelegationTokenAuthenticationFilter.-
Constructor Summary
ConstructorsConstructorDescriptionDelegationTokenIdentifier(Text kind, Text owner, Text renewer, Text realUser) Create a new delegation token identifier -
Method Summary
Methods inherited from class org.apache.hadoop.security.token.delegation.AbstractDelegationTokenIdentifier
equals, getIssueDate, getMasterKeyId, getMaxDate, getOwner, getRealUser, getRenewer, getSequenceNumber, getUser, hashCode, isEqual, readFields, setIssueDate, setMasterKeyId, setMaxDate, setOwner, setRealUser, setRenewer, setSequenceNumber, toString, toStringStable, writeMethods inherited from class org.apache.hadoop.security.token.TokenIdentifier
getBytes, getTrackingId
-
Constructor Details
-
DelegationTokenIdentifier
-
DelegationTokenIdentifier
Create a new delegation token identifier- Parameters:
kind- token kindowner- the effective username of the token ownerrenewer- the username of the renewerrealUser- the real username of the token owner
-
-
Method Details
-
getKind
Return the delegation token kind- Specified by:
getKindin classAbstractDelegationTokenIdentifier- Returns:
- returns the delegation token kind
-