程序包 | 说明 |
---|---|
org.apache.hadoop.hdfs |
A distributed implementation of
FileSystem . |
org.apache.hadoop.hdfs.security.token.block | |
org.apache.hadoop.hdfs.security.token.delegation | |
org.apache.hadoop.hdfs.web | |
org.apache.hadoop.ipc |
Tools to help define network clients and servers.
|
org.apache.hadoop.mapreduce.security | |
org.apache.hadoop.mapreduce.security.token | |
org.apache.hadoop.mapreduce.security.token.delegation | |
org.apache.hadoop.security | |
org.apache.hadoop.security.token | |
org.apache.hadoop.security.token.delegation |
限定符和类型 | 方法和说明 |
---|---|
<T extends TokenIdentifier> |
HftpFileSystem.setDelegationToken(Token<T> token) |
限定符和类型 | 类和说明 |
---|---|
class |
BlockTokenIdentifier |
限定符和类型 | 方法和说明 |
---|---|
Token<BlockTokenIdentifier> |
BlockTokenSelector.selectToken(Text service,
Collection<Token<? extends TokenIdentifier>> tokens) |
限定符和类型 | 方法和说明 |
---|---|
<T extends TokenIdentifier> |
DelegationTokenRenewer.Renewable.setDelegationToken(Token<T> token)
Set delegation token.
|
限定符和类型 | 方法和说明 |
---|---|
<T extends TokenIdentifier> |
WebHdfsFileSystem.setDelegationToken(Token<T> token) |
限定符和类型 | 方法和说明 |
---|---|
static Token<? extends TokenIdentifier> |
JsonUtil.toToken(Map<?,?> m)
Convert a Json map to a Token.
|
限定符和类型 | 方法和说明 |
---|---|
static String |
JsonUtil.toJsonString(Token<? extends TokenIdentifier> token)
Convert a token object to a Json string.
|
限定符和类型 | 方法和说明 |
---|---|
static RPC.Server |
RPC.getServer(Object instance,
String bindAddress,
int port,
int numHandlers,
boolean verbose,
Configuration conf,
SecretManager<? extends TokenIdentifier> secretManager)
Construct a server for a protocol implementation instance listening on a
port and address, with a secret manager.
|
构造器和说明 |
---|
RPC.Server(Object instance,
Configuration conf,
String bindAddress,
int port,
int numHandlers,
boolean verbose,
SecretManager<? extends TokenIdentifier> secretManager)
Construct an RPC server.
|
Server(String bindAddress,
int port,
Class<? extends Writable> paramClass,
int handlerCount,
Configuration conf,
String serverName,
SecretManager<? extends TokenIdentifier> secretManager)
Constructs a server listening on the named port and address.
|
限定符和类型 | 方法和说明 |
---|---|
static void |
TokenCache.setJobToken(Token<? extends TokenIdentifier> t,
Credentials credentials)
store job token
|
限定符和类型 | 类和说明 |
---|---|
class |
JobTokenIdentifier
The token identifier for job token
|
限定符和类型 | 方法和说明 |
---|---|
Token<JobTokenIdentifier> |
JobTokenSelector.selectToken(Text service,
Collection<Token<? extends TokenIdentifier>> tokens) |
限定符和类型 | 类和说明 |
---|---|
class |
DelegationTokenIdentifier
A delegation token identifier that is specific to MapReduce.
|
限定符和类型 | 方法和说明 |
---|---|
static <T extends TokenIdentifier> |
SaslRpcServer.getIdentifier(String id,
SecretManager<T> secretManager) |
限定符和类型 | 方法和说明 |
---|---|
Collection<Token<? extends TokenIdentifier>> |
Credentials.getAllTokens()
Return all the tokens in the in-memory map
|
Token<? extends TokenIdentifier> |
Credentials.getToken(Text alias)
Returns the Token object for the alias
|
Set<TokenIdentifier> |
UserGroupInformation.getTokenIdentifiers()
Get the set of TokenIdentifiers belonging to this UGI
|
Collection<Token<? extends TokenIdentifier>> |
UserGroupInformation.getTokens()
Obtain the collection of tokens associated with this user.
|
限定符和类型 | 方法和说明 |
---|---|
boolean |
UserGroupInformation.addTokenIdentifier(TokenIdentifier tokenId)
Add a TokenIdentifier to this UGI.
|
限定符和类型 | 方法和说明 |
---|---|
void |
Credentials.addToken(Text alias,
Token<? extends TokenIdentifier> t)
Add a token in the storage (in memory)
|
boolean |
UserGroupInformation.addToken(Token<? extends TokenIdentifier> token)
Add a token to this UGI
|
构造器和说明 |
---|
SaslRpcClient(SaslRpcServer.AuthMethod method,
Token<? extends TokenIdentifier> token,
String serverPrincipal,
boolean fallbackAllowed)
Create a SaslRpcClient for an authentication method
|
SaslRpcServer.SaslDigestCallbackHandler(SecretManager<TokenIdentifier> secretManager,
Server.Connection connection) |
限定符和类型 | 类和说明 |
---|---|
class |
SecretManager<T extends TokenIdentifier>
The server-side secret manager for each token type.
|
class |
Token<T extends TokenIdentifier>
The client-side form of the token.
|
interface |
TokenSelector<T extends TokenIdentifier>
Select token of type T from tokens for use with named service
|
限定符和类型 | 方法和说明 |
---|---|
Token<T> |
TokenSelector.selectToken(Text service,
Collection<Token<? extends TokenIdentifier>> tokens) |
限定符和类型 | 类和说明 |
---|---|
class |
AbstractDelegationTokenIdentifier |
限定符和类型 | 方法和说明 |
---|---|
Token<TokenIdent> |
AbstractDelegationTokenSelector.selectToken(Text service,
Collection<Token<? extends TokenIdentifier>> tokens) |
Copyright © 2009 The Apache Software Foundation