Modifier and Type | Method and Description |
---|---|
Connector |
Instance.getConnector(String principal,
AuthenticationToken token)
Returns a connection to this instance of accumulo.
|
Connector |
ZooKeeperInstance.getConnector(String principal,
AuthenticationToken token) |
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 |
AbstractInputFormat.getAuthenticationToken(org.apache.hadoop.mapred.JobConf job)
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 |
AccumuloOutputFormat.getAuthenticationToken(org.apache.hadoop.mapred.JobConf job)
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 |
AbstractInputFormat.setConnectorInfo(org.apache.hadoop.mapred.JobConf job,
String principal,
AuthenticationToken token)
Sets the connector information needed to communicate with Accumulo in this job.
|
static void |
AccumuloOutputFormat.setConnectorInfo(org.apache.hadoop.mapred.JobConf job,
String principal,
AuthenticationToken token)
Sets the connector information needed to communicate with Accumulo in this job.
|
Modifier and Type | Method and Description |
---|---|
protected static AuthenticationToken |
AbstractInputFormat.getAuthenticationToken(org.apache.hadoop.mapreduce.JobContext context)
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 |
AccumuloOutputFormat.getAuthenticationToken(org.apache.hadoop.mapreduce.JobContext context)
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() |
Modifier and Type | Method and Description |
---|---|
static void |
AbstractInputFormat.setConnectorInfo(org.apache.hadoop.mapreduce.Job job,
String principal,
AuthenticationToken token)
Sets the connector information needed to communicate with Accumulo in this job.
|
static void |
AccumuloOutputFormat.setConnectorInfo(org.apache.hadoop.mapreduce.Job job,
String principal,
AuthenticationToken token)
Sets the connector information needed to communicate with Accumulo in this job.
|
void |
RangeInputSplit.setToken(AuthenticationToken token) |
Modifier and Type | Method and Description |
---|---|
static void |
ConfiguratorBase.setConnectorInfo(Class<?> implementingClass,
org.apache.hadoop.conf.Configuration conf,
String principal,
AuthenticationToken token)
Deprecated.
since 1.6.0; Configure your job with the appropriate InputFormat or OutputFormat.
|
Modifier and Type | Method and Description |
---|---|
Connector |
MockInstance.getConnector(String principal,
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.
|
Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.