Package | Description |
---|---|
org.apache.hadoop.crypto.key.kms | |
org.apache.hadoop.fs |
An abstract file system API.
|
org.apache.hadoop.ipc |
Tools to help define network clients and servers.
|
org.apache.hadoop.security | |
org.apache.hadoop.security.token | |
org.apache.hadoop.security.token.delegation | |
org.apache.hadoop.security.token.delegation.web |
Modifier and Type | Class and Description |
---|---|
static class |
KMSDelegationToken.KMSDelegationTokenIdentifier
DelegationTokenIdentifier used for the KMS.
|
Modifier and Type | Method and Description |
---|---|
<T extends TokenIdentifier> |
DelegationTokenRenewer.Renewable.setDelegationToken(Token<T> token)
Set delegation token.
|
Modifier and Type | Method and Description |
---|---|
RPC.Server |
WritableRpcEngine.getServer(Class<?> protocolClass,
Object protocolImpl,
String bindAddress,
int port,
int numHandlers,
int numReaders,
int queueSizePerHandler,
boolean verbose,
Configuration conf,
SecretManager<? extends TokenIdentifier> secretManager,
String portRangeConfig) |
RPC.Server |
RpcEngine.getServer(Class<?> protocol,
Object instance,
String bindAddress,
int port,
int numHandlers,
int numReaders,
int queueSizePerHandler,
boolean verbose,
Configuration conf,
SecretManager<? extends TokenIdentifier> secretManager,
String portRangeConfig)
Construct a server for a protocol implementation instance.
|
RPC.Server |
ProtobufRpcEngine.getServer(Class<?> protocol,
Object protocolImpl,
String bindAddress,
int port,
int numHandlers,
int numReaders,
int queueSizePerHandler,
boolean verbose,
Configuration conf,
SecretManager<? extends TokenIdentifier> secretManager,
String portRangeConfig) |
RPC.Builder |
RPC.Builder.setSecretManager(SecretManager<? extends TokenIdentifier> secretManager)
Default: null
|
Constructor and Description |
---|
ProtobufRpcEngine.Server(Class<?> protocolClass,
Object protocolImpl,
Configuration conf,
String bindAddress,
int port,
int numHandlers,
int numReaders,
int queueSizePerHandler,
boolean verbose,
SecretManager<? extends TokenIdentifier> secretManager,
String portRangeConfig)
Construct an RPC server.
|
RPC.Server(String bindAddress,
int port,
Class<? extends Writable> paramClass,
int handlerCount,
int numReaders,
int queueSizePerHandler,
Configuration conf,
String serverName,
SecretManager<? extends TokenIdentifier> secretManager,
String portRangeConfig) |
Server(String bindAddress,
int port,
Class<? extends Writable> rpcRequestClass,
int handlerCount,
int numReaders,
int queueSizePerHandler,
Configuration conf,
String serverName,
SecretManager<? extends TokenIdentifier> secretManager) |
Server(String bindAddress,
int port,
Class<? extends Writable> rpcRequestClass,
int handlerCount,
int numReaders,
int queueSizePerHandler,
Configuration conf,
String serverName,
SecretManager<? extends TokenIdentifier> secretManager,
String portRangeConfig)
Constructs a server listening on the named port and address.
|
WritableRpcEngine.Server(Class<?> protocolClass,
Object protocolImpl,
Configuration conf,
String bindAddress,
int port,
int numHandlers,
int numReaders,
int queueSizePerHandler,
boolean verbose,
SecretManager<? extends TokenIdentifier> secretManager,
String portRangeConfig)
Construct an RPC server.
|
WritableRpcEngine.Server(Object protocolImpl,
Configuration conf,
String bindAddress,
int port,
int numHandlers,
int numReaders,
int queueSizePerHandler,
boolean verbose,
SecretManager<? extends TokenIdentifier> secretManager)
Deprecated.
use Server#Server(Class, Object,
Configuration, String, int, int, int, int, boolean, SecretManager)
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
UserGroupInformation.addTokenIdentifier(TokenIdentifier tokenId)
Add a TokenIdentifier to this UGI.
|
Modifier and Type | Method and Description |
---|---|
boolean |
UserGroupInformation.addToken(Text alias,
Token<? extends TokenIdentifier> token)
Add a named token 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
|
Constructor and Description |
---|
SaslRpcServer.SaslDigestCallbackHandler(SecretManager<TokenIdentifier> secretManager,
Server.Connection connection) |
Modifier and Type | Class and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
Token<T> |
TokenSelector.selectToken(Text service,
Collection<Token<? extends TokenIdentifier>> tokens) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDelegationTokenIdentifier |
Modifier and Type | Class and Description |
---|---|
class |
org.apache.hadoop.security.token.delegation.web.DelegationTokenIdentifier
Concrete delegation token identifier used by
DelegationTokenManager ,
KerberosDelegationTokenAuthenticationHandler and
DelegationTokenAuthenticationFilter . |
Copyright © 2017 Apache Software Foundation. All Rights Reserved.