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()voidinit(AuthenticationToken.Properties properties) protected voidsetWithCredentialProviders(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:
initin interfaceAuthenticationToken- Overrides:
initin classPasswordToken
-
getProperties
- Specified by:
getPropertiesin interfaceAuthenticationToken- Overrides:
getPropertiesin classPasswordToken
-
clone
- Specified by:
clonein interfaceAuthenticationToken- Overrides:
clonein classPasswordToken
-