Class ShadeTokenIdentifier
java.lang.Object
org.apache.hadoop.security.token.TokenIdentifier
org.apache.hadoop.hbase.security.provider.example.ShadeTokenIdentifier
- All Implemented Interfaces:
org.apache.hadoop.io.Writable
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.io.Text
getKind()
org.apache.hadoop.security.UserGroupInformation
getUser()
void
readFields
(DataInput in) void
write
(DataOutput out) Methods inherited from class org.apache.hadoop.security.token.TokenIdentifier
getBytes, getTrackingId
-
Field Details
-
TEXT_TOKEN_KIND
-
username
-
-
Constructor Details
-
ShadeTokenIdentifier
public ShadeTokenIdentifier() -
ShadeTokenIdentifier
-
-
Method Details
-
write
- Throws:
IOException
-
readFields
- Throws:
IOException
-
getKind
- Specified by:
getKind
in classorg.apache.hadoop.security.token.TokenIdentifier
-
getUser
- Specified by:
getUser
in classorg.apache.hadoop.security.token.TokenIdentifier
-