Class AuthenticationKey
java.lang.Object
org.apache.hadoop.hbase.security.token.AuthenticationKey
- All Implemented Interfaces:
- org.apache.hadoop.io.Writable
Represents a secret key used for signing and verifying authentication tokens by
 
AuthenticationTokenSecretManager.- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanlong(package private) SecretKeygetKey()intgetKeyId()inthashCode()voidreadFields(DataInput in) voidsetExpiration(long timestamp) toString()voidwrite(DataOutput out) 
- 
Field Details- 
id
- 
expirationDate
- 
secret
 
- 
- 
Constructor Details- 
AuthenticationKeypublic AuthenticationKey()
- 
AuthenticationKey
 
- 
- 
Method Details- 
getKeyId
- 
getExpiration
- 
setExpiration
- 
getKey
- 
hashCode
- 
equals
- 
toString
- 
write- Specified by:
- writein interface- org.apache.hadoop.io.Writable
- Throws:
- IOException
 
- 
readFields- Specified by:
- readFieldsin interface- org.apache.hadoop.io.Writable
- Throws:
- IOException
 
 
-