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 |
---|---|
Token<? extends TokenIdentifier> |
LoadBalancingKMSClientProvider.selectDelegationToken(Credentials creds) |
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,
org.apache.hadoop.ipc.AlignmentContext alignmentContext)
Deprecated.
|
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,
org.apache.hadoop.ipc.AlignmentContext alignmentContext)
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,
org.apache.hadoop.ipc.AlignmentContext alignmentContext) |
RPC.Builder |
RPC.Builder.setSecretManager(SecretManager<? extends TokenIdentifier> secretManager)
Default: null
|
Constructor and Description |
---|
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)
Deprecated.
use Server#Server(Class, Object,
Configuration, String, int, int, int, int, boolean, SecretManager)
|
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,
org.apache.hadoop.ipc.AlignmentContext alignmentContext)
Deprecated.
Construct an RPC server.
|
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,
org.apache.hadoop.ipc.AlignmentContext alignmentContext)
Construct an RPC server.
|
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)
|
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> 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,
String portRangeConfig)
Constructs a server listening on the named port and address.
|
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
|
Map<Text,Token<? extends TokenIdentifier>> |
Credentials.getTokenMap()
Returns an unmodifiable version of the full map of aliases to Tokens.
|
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 |
---|
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 © 2008–2022 Apache Software Foundation. All rights reserved.