Class TestFsDelegationToken
java.lang.Object
org.apache.hadoop.hbase.security.token.TestFsDelegationToken
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private org.apache.hadoop.fs.FileSystem
private org.apache.hadoop.hbase.security.token.FsDelegationToken
private org.apache.hadoop.security.token.Token
private org.apache.hadoop.hdfs.web.WebHdfsFileSystem
private org.apache.hadoop.security.token.Token
private org.apache.hadoop.hbase.security.User
private org.apache.hadoop.hbase.security.UserProvider
private org.apache.hadoop.hdfs.web.WebHdfsFileSystem
private org.apache.hadoop.security.token.Token
-
Constructor Summary
-
Method Summary
-
Field Details
-
userProvider
-
user
-
fsDelegationToken
-
hdfsToken
-
webhdfsToken
-
swebhdfsToken
-
webHdfsFileSystem
-
swebHdfsFileSystem
-
fileSystem
-
CLASS_RULE
-
-
Constructor Details
-
TestFsDelegationToken
public TestFsDelegationToken()
-
-
Method Details
-
setup
- Throws:
IOException
URISyntaxException
-
acquireDelegationToken_defaults_to_hdfsFileSystem
- Throws:
IOException
-
acquireDelegationToken_webhdfsFileSystem
- Throws:
IOException
-
acquireDelegationToken_swebhdfsFileSystem
- Throws:
IOException
-
acquireDelegationTokenByTokenKind_rejects_null_token_kind
- Throws:
IOException
-
acquireDelegationTokenByTokenKind_webhdfsFileSystem
- Throws:
IOException
-
acquireDelegationTokenByTokenKind_swebhdfsFileSystem
- Throws:
IOException
-