public class CredentialProviderToken extends PasswordToken
AuthenticationToken
backed by a Hadoop CredentialProvider.AuthenticationToken.AuthenticationTokenSerializer, AuthenticationToken.Properties, AuthenticationToken.TokenProperty
Modifier and Type | Field and Description |
---|---|
static String |
CREDENTIAL_PROVIDERS_PROPERTY |
static String |
NAME_PROPERTY |
Constructor and Description |
---|
CredentialProviderToken() |
CredentialProviderToken(String name,
String credentialProviders) |
Modifier and Type | Method and Description |
---|---|
CredentialProviderToken |
clone() |
Set<AuthenticationToken.TokenProperty> |
getProperties() |
void |
init(AuthenticationToken.Properties properties) |
protected void |
setWithCredentialProviders(String name,
String credentialProviders) |
destroy, equals, getPassword, hashCode, isDestroyed, readFields, setPassword, setPassword, write
public static final String NAME_PROPERTY
public static final String CREDENTIAL_PROVIDERS_PROPERTY
public CredentialProviderToken()
public CredentialProviderToken(String name, String credentialProviders) throws IOException
IOException
protected void setWithCredentialProviders(String name, String credentialProviders) throws IOException
IOException
public void init(AuthenticationToken.Properties properties)
init
in interface AuthenticationToken
init
in class PasswordToken
public Set<AuthenticationToken.TokenProperty> getProperties()
getProperties
in interface AuthenticationToken
getProperties
in class PasswordToken
public CredentialProviderToken clone()
clone
in interface AuthenticationToken
clone
in class PasswordToken
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.