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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()getName()voidinit(AuthenticationToken.Properties properties) voidreadFields(DataInput arg0) voidwrite(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:
readFieldsin interfaceorg.apache.hadoop.io.Writable- Overrides:
readFieldsin classPasswordToken- Throws:
IOException
-
write
- Specified by:
writein interfaceorg.apache.hadoop.io.Writable- Overrides:
writein 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:
initin interfaceAuthenticationToken- Overrides:
initin classPasswordToken
-
getProperties
- Specified by:
getPropertiesin interfaceAuthenticationToken- Overrides:
getPropertiesin classPasswordToken
-
clone
- Specified by:
clonein interfaceAuthenticationToken- Overrides:
clonein classPasswordToken
-