程序包 | 说明 |
---|---|
org.apache.hadoop.hdfs.security.token.block |
限定符和类型 | 方法和说明 |
---|---|
static BlockTokenSecretManager.AccessMode |
BlockTokenSecretManager.AccessMode.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static BlockTokenSecretManager.AccessMode[] |
BlockTokenSecretManager.AccessMode.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
EnumSet<BlockTokenSecretManager.AccessMode> |
BlockTokenIdentifier.getAccessModes() |
限定符和类型 | 方法和说明 |
---|---|
void |
BlockTokenSecretManager.checkAccess(BlockTokenIdentifier id,
String userId,
Block block,
BlockTokenSecretManager.AccessMode mode)
Check if access should be allowed. userID is not checked if null.
|
void |
BlockTokenSecretManager.checkAccess(Token<BlockTokenIdentifier> token,
String userId,
Block block,
BlockTokenSecretManager.AccessMode mode)
Check if access should be allowed. userID is not checked if null
|
限定符和类型 | 方法和说明 |
---|---|
Token<BlockTokenIdentifier> |
BlockTokenSecretManager.generateToken(Block block,
EnumSet<BlockTokenSecretManager.AccessMode> modes)
Generate an block token for current user
|
Token<BlockTokenIdentifier> |
BlockTokenSecretManager.generateToken(long[] blockIds,
EnumSet<BlockTokenSecretManager.AccessMode> modes)
Generate a block token for the current user based on a collection
of blockIds
|
Token<BlockTokenIdentifier> |
BlockTokenSecretManager.generateToken(String userId,
Block block,
EnumSet<BlockTokenSecretManager.AccessMode> modes)
Generate a block token for a specified user
|
Token<BlockTokenIdentifier> |
BlockTokenSecretManager.generateToken(String userID,
long[] blockIds,
EnumSet<BlockTokenSecretManager.AccessMode> modes)
Generate a block token based on a collection of blockIds
|
构造器和说明 |
---|
BlockTokenIdentifier(String userId,
long[] blockIds,
EnumSet<BlockTokenSecretManager.AccessMode> modes) |
Copyright © 2009 The Apache Software Foundation