org.apache.accumulo.core.client.security.tokens
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
public class CredentialProviderToken
- extends PasswordToken
An AuthenticationToken
backed by a Hadoop CredentialProvider.
NAME_PROPERTY
public static final String NAME_PROPERTY
- See Also:
- Constant Field Values
CREDENTIAL_PROVIDERS_PROPERTY
public static final String CREDENTIAL_PROVIDERS_PROPERTY
- See Also:
- Constant Field Values
CredentialProviderToken
public CredentialProviderToken()
CredentialProviderToken
public CredentialProviderToken(String name,
String credentialProviders)
throws IOException
- Throws:
IOException
setWithCredentialProviders
protected void setWithCredentialProviders(String name,
String credentialProviders)
throws IOException
- Throws:
IOException
init
public void init(AuthenticationToken.Properties properties)
- Specified by:
init
in interface AuthenticationToken
- Overrides:
init
in class PasswordToken
getProperties
public Set<AuthenticationToken.TokenProperty> getProperties()
- Specified by:
getProperties
in interface AuthenticationToken
- Overrides:
getProperties
in class PasswordToken
clone
public CredentialProviderToken clone()
- Specified by:
clone
in interface AuthenticationToken
- Overrides:
clone
in class PasswordToken
Copyright © 2015 Apache Accumulo Project. All rights reserved.