Modifier and Type | Method and Description |
---|---|
AuthenticationToken |
ClientOpts.getToken() |
Modifier and Type | Method and Description |
---|---|
AccumuloClient.ConnectionOptions<T> |
AccumuloClient.AuthenticationArgs.as(CharSequence principal,
AuthenticationToken token)
Build using specified credentials
|
Connector |
ZooKeeperInstance.getConnector(String principal,
AuthenticationToken token)
Deprecated.
|
Connector |
Instance.getConnector(String principal,
AuthenticationToken token)
Deprecated.
Returns a connection to this instance of accumulo.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SecurityOperations.authenticateUser(String principal,
AuthenticationToken token)
Verify a username/password combination is valid
|
Modifier and Type | Method and Description |
---|---|
protected static AuthenticationToken |
AccumuloOutputFormat.getAuthenticationToken(org.apache.hadoop.mapred.JobConf job)
Deprecated.
Gets the authenticated token from either the specified token file or directly from the
configuration, whichever was used when the job was configured.
|
protected static AuthenticationToken |
AbstractInputFormat.getAuthenticationToken(org.apache.hadoop.mapred.JobConf job)
Deprecated.
Gets the authenticated token from either the specified token file or directly from the
configuration, whichever was used when the job was configured.
|
Modifier and Type | Method and Description |
---|---|
static void |
AccumuloOutputFormat.setConnectorInfo(org.apache.hadoop.mapred.JobConf job,
String principal,
AuthenticationToken token)
Deprecated.
Sets the connector information needed to communicate with Accumulo in this job.
|
static void |
AbstractInputFormat.setConnectorInfo(org.apache.hadoop.mapred.JobConf job,
String principal,
AuthenticationToken token)
Deprecated.
Sets the connector information needed to communicate with Accumulo in this job.
|
Modifier and Type | Method and Description |
---|---|
protected static AuthenticationToken |
AccumuloOutputFormat.getAuthenticationToken(org.apache.hadoop.mapreduce.JobContext context)
Deprecated.
Gets the authenticated token from either the specified token file or directly from the
configuration, whichever was used when the job was configured.
|
protected static AuthenticationToken |
AbstractInputFormat.getAuthenticationToken(org.apache.hadoop.mapreduce.JobContext job)
Deprecated.
Gets the authenticated token from either the specified token file or directly from the
configuration, whichever was used when the job was configured.
|
AuthenticationToken |
RangeInputSplit.getToken()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
AccumuloOutputFormat.setConnectorInfo(org.apache.hadoop.mapreduce.Job job,
String principal,
AuthenticationToken token)
Deprecated.
Sets the connector information needed to communicate with Accumulo in this job.
|
static void |
AbstractInputFormat.setConnectorInfo(org.apache.hadoop.mapreduce.Job job,
String principal,
AuthenticationToken token)
Deprecated.
Sets the connector information needed to communicate with Accumulo in this job.
|
void |
RangeInputSplit.setToken(AuthenticationToken token)
Deprecated.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DelegationToken
An
AuthenticationToken that wraps a "Hadoop style" delegation token created by Accumulo. |
Modifier and Type | Class and Description |
---|---|
class |
CredentialProviderToken
An
AuthenticationToken backed by a Hadoop CredentialProvider. |
class |
KerberosToken
Authentication token for Kerberos authenticated clients
|
class |
NullToken |
class |
PasswordToken |
Modifier and Type | Method and Description |
---|---|
static <T extends AuthenticationToken> |
AuthenticationToken.AuthenticationTokenSerializer.deserialize(Class<T> tokenType,
byte[] tokenBytes)
A convenience method to create tokens from serialized bytes, created by
AuthenticationToken.AuthenticationTokenSerializer.serialize(AuthenticationToken) |
Modifier and Type | Method and Description |
---|---|
AuthenticationToken |
AuthenticationToken.clone() |
static AuthenticationToken |
AuthenticationToken.AuthenticationTokenSerializer.deserialize(String tokenClassName,
byte[] tokenBytes)
An alternate version of
AuthenticationToken.AuthenticationTokenSerializer.deserialize(Class, byte[]) that accepts a token class name
rather than a token class. |
Modifier and Type | Method and Description |
---|---|
static byte[] |
AuthenticationToken.AuthenticationTokenSerializer.serialize(AuthenticationToken token)
A convenience method to serialize tokens.
|
Modifier and Type | Class and Description |
---|---|
class |
DelegationTokenImpl |
Modifier and Type | Method and Description |
---|---|
AuthenticationToken |
ClientInfoImpl.getAuthenticationToken() |
AuthenticationToken |
ClientInfo.getAuthenticationToken() |
AuthenticationToken |
ClientContext.getAuthenticationToken() |
AuthenticationToken |
Credentials.getToken()
Gets the authentication token.
|
AuthenticationToken |
ClientContext.token() |
Modifier and Type | Method and Description |
---|---|
AccumuloClient.ConnectionOptions<T> |
ClientContext.ClientBuilderImpl.as(CharSequence principal,
AuthenticationToken token) |
boolean |
SecurityOperationsImpl.authenticateUser(String principal,
AuthenticationToken token) |
static ClientInfo |
ClientInfo.from(Properties properties,
AuthenticationToken token) |
Constructor and Description |
---|
ClientInfoImpl(Properties properties,
AuthenticationToken token) |
Credentials(String principal,
AuthenticationToken token)
Creates a new credentials object.
|
Modifier and Type | Class and Description |
---|---|
class |
DelegationTokenStub
Deprecated.
since 2.0.0
|
Modifier and Type | Method and Description |
---|---|
AuthenticationToken |
DelegationTokenStub.clone()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AuthenticationToken |
ConfiguratorBase.getAuthenticationToken(Class<?> implementingClass,
org.apache.hadoop.conf.Configuration conf)
Gets the authenticated token from either the specified token file or directly from the
configuration, whichever was used when the job was configured.
|
static AuthenticationToken |
ConfiguratorBase.getTokenFromFile(org.apache.hadoop.conf.Configuration conf,
String principal,
String tokenFile)
Reads from the token file in distributed cache.
|
static AuthenticationToken |
ConfiguratorBase.unwrapAuthenticationToken(org.apache.hadoop.mapred.JobConf job,
AuthenticationToken token)
Unwraps the provided
AuthenticationToken if it is an instance of DelegationTokenStub,
reconstituting it from the provided JobConf . |
static AuthenticationToken |
ConfiguratorBase.unwrapAuthenticationToken(org.apache.hadoop.mapreduce.JobContext job,
AuthenticationToken token)
Unwraps the provided
AuthenticationToken if it is an instance of DelegationTokenStub,
reconstituting it from the provided JobConf . |
Modifier and Type | Method and Description |
---|---|
static void |
ConfiguratorBase.setConnectorInfo(Class<?> implementingClass,
org.apache.hadoop.conf.Configuration conf,
String principal,
AuthenticationToken token)
Sets the connector information needed to communicate with Accumulo in this job.
|
static AuthenticationToken |
ConfiguratorBase.unwrapAuthenticationToken(org.apache.hadoop.mapred.JobConf job,
AuthenticationToken token)
Unwraps the provided
AuthenticationToken if it is an instance of DelegationTokenStub,
reconstituting it from the provided JobConf . |
static AuthenticationToken |
ConfiguratorBase.unwrapAuthenticationToken(org.apache.hadoop.mapreduce.JobContext job,
AuthenticationToken token)
Unwraps the provided
AuthenticationToken if it is an instance of DelegationTokenStub,
reconstituting it from the provided JobConf . |
Modifier and Type | Method and Description |
---|---|
static AuthenticationToken |
ClientProperty.decodeToken(String className,
String tokenString) |
static AuthenticationToken |
ClientProperty.getAuthenticationToken(Properties properties) |
Modifier and Type | Method and Description |
---|---|
static String |
ClientProperty.encodeToken(AuthenticationToken token) |
static void |
ClientProperty.setAuthenticationToken(Properties properties,
AuthenticationToken token) |
Modifier and Type | Method and Description |
---|---|
static SaslConnectionParams |
SaslConnectionParams.from(AccumuloConfiguration config,
AuthenticationToken token) |
protected void |
SaslConnectionParams.updateFromToken(AuthenticationToken token) |
Constructor and Description |
---|
SaslConnectionParams(AccumuloConfiguration conf,
AuthenticationToken token) |
SaslConnectionParams(Properties properties,
AuthenticationToken token) |
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.