Class CustomSaslAuthenticationProviderTestBase.PasswordAuthTokenIdentifier
java.lang.Object
org.apache.hadoop.security.token.TokenIdentifier
org.apache.hadoop.hbase.security.provider.CustomSaslAuthenticationProviderTestBase.PasswordAuthTokenIdentifier
- All Implemented Interfaces:
org.apache.hadoop.io.Writable
- Enclosing class:
- CustomSaslAuthenticationProviderTestBase
public static class CustomSaslAuthenticationProviderTestBase.PasswordAuthTokenIdentifier
extends org.apache.hadoop.security.token.TokenIdentifier
A custom token identifier for our custom auth'n method. Unique from the TokenIdentifier used
for delegation tokens.
-
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
-
PASSWORD_AUTH_TOKEN
-
username
-
-
Constructor Details
-
PasswordAuthTokenIdentifier
public PasswordAuthTokenIdentifier() -
PasswordAuthTokenIdentifier
-
-
Method Details
-
readFields
- Throws:
IOException
-
write
- Throws:
IOException
-
getKind
- Specified by:
getKind
in classorg.apache.hadoop.security.token.TokenIdentifier
-
getUser
- Specified by:
getUser
in classorg.apache.hadoop.security.token.TokenIdentifier
-