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()
void
init
(AuthenticationToken.Properties properties) protected void
setWithCredentialProviders
(String name, String credentialProviders) Methods inherited from class org.apache.accumulo.core.client.security.tokens.PasswordToken
destroy, equals, getPassword, hashCode, isDestroyed, readFields, setPassword, setPassword, write
-
Field Details
-
NAME_PROPERTY
- See Also:
-
CREDENTIAL_PROVIDERS_PROPERTY
- See Also:
-
-
Constructor Details
-
CredentialProviderToken
public CredentialProviderToken() -
CredentialProviderToken
- Throws:
IOException
-
-
Method Details
-
setWithCredentialProviders
protected void setWithCredentialProviders(String name, String credentialProviders) throws IOException - Throws:
IOException
-
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
-