Class CredentialProviderToken
java.lang.Object
org.apache.accumulo.core.client.security.tokens.PasswordToken
org.apache.accumulo.core.client.security.tokens.CredentialProviderToken
- All Implemented Interfaces:
Cloneable
,Destroyable
,AuthenticationToken
,org.apache.hadoop.io.Writable
An
AuthenticationToken
backed by a Hadoop CredentialProvider.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.accumulo.core.client.security.tokens.AuthenticationToken
AuthenticationToken.AuthenticationTokenSerializer, AuthenticationToken.Properties, AuthenticationToken.TokenProperty
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
getName()
void
init
(AuthenticationToken.Properties properties) void
readFields
(DataInput arg0) void
write
(DataOutput arg0) Methods inherited from class org.apache.accumulo.core.client.security.tokens.PasswordToken
destroy, equals, getPassword, hashCode, isDestroyed, setPassword, setPassword
-
Field Details
-
NAME_PROPERTY
- See Also:
-
CREDENTIAL_PROVIDERS_PROPERTY
- See Also:
-
-
Constructor Details
-
CredentialProviderToken
public CredentialProviderToken() -
CredentialProviderToken
- Throws:
IOException
-
-
Method Details
-
readFields
- Specified by:
readFields
in interfaceorg.apache.hadoop.io.Writable
- Overrides:
readFields
in classPasswordToken
- Throws:
IOException
-
write
- Specified by:
write
in interfaceorg.apache.hadoop.io.Writable
- Overrides:
write
in classPasswordToken
- Throws:
IOException
-
getName
- Returns:
- Name used to extract Accumulo user password from CredentialProvider
- Since:
- 2.0.0
-
getCredentialProviders
- Returns:
- CSV list of CredentialProvider(s)
- Since:
- 2.0.0
-
init
- Specified by:
init
in interfaceAuthenticationToken
- Overrides:
init
in classPasswordToken
-
getProperties
- Specified by:
getProperties
in interfaceAuthenticationToken
- Overrides:
getProperties
in classPasswordToken
-
clone
- Specified by:
clone
in interfaceAuthenticationToken
- Overrides:
clone
in classPasswordToken
-