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, writepublic static final String NAME_PROPERTY
public static final String CREDENTIAL_PROVIDERS_PROPERTY
public CredentialProviderToken()
public CredentialProviderToken(String name, String credentialProviders) throws IOException
IOExceptionprotected void setWithCredentialProviders(String name, String credentialProviders) throws IOException
IOExceptionpublic void init(AuthenticationToken.Properties properties)
init in interface AuthenticationTokeninit in class PasswordTokenpublic Set<AuthenticationToken.TokenProperty> getProperties()
getProperties in interface AuthenticationTokengetProperties in class PasswordTokenpublic CredentialProviderToken clone()
clone in interface AuthenticationTokenclone in class PasswordTokenCopyright © 2011–2017 The Apache Software Foundation. All rights reserved.