| Package | Description | 
|---|---|
| org.apache.hadoop.crypto.key | Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements. | 
| org.apache.hadoop.crypto.key.kms | |
| org.apache.hadoop.fs | An abstract file system API. | 
| org.apache.hadoop.security | 
| Modifier and Type | Method and Description | 
|---|---|
| Token<?>[] | KeyProviderDelegationTokenExtension. addDelegationTokens(String renewer,
                   Credentials credentials)Passes the renewer and Credentials object to the underlying
  KeyProviderDelegationTokenExtension.DelegationTokenExtension | 
| Token<?>[] | KeyProviderDelegationTokenExtension.DelegationTokenExtension. addDelegationTokens(String renewer,
                   Credentials credentials)The implementer of this class will take a renewer and add all
 delegation tokens associated with the renewer to the
  Credentialsobject if it is not already present, | 
| Modifier and Type | Method and Description | 
|---|---|
| Token<?>[] | LoadBalancingKMSClientProvider. addDelegationTokens(String renewer,
                   Credentials credentials) | 
| Modifier and Type | Method and Description | 
|---|---|
| Token<?>[] | FileSystem. addDelegationTokens(String renewer,
                   Credentials credentials)Obtain all delegation tokens used by this FileSystem that are not
 already present in the given Credentials. | 
| Modifier and Type | Method and Description | 
|---|---|
| Credentials | UserGroupInformation. getCredentials()Obtain the tokens in credentials form associated with this user. | 
| static Credentials | Credentials. readTokenStorageFile(File filename,
                    Configuration conf)Convenience method for reading a token storage file, and loading the Tokens
 therein in the passed UGI | 
| static Credentials | Credentials. readTokenStorageFile(Path filename,
                    Configuration conf)Convenience method for reading a token storage file, and loading the Tokens
 therein in the passed UGI | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Credentials. addAll(Credentials other)Copy all of the credentials from one credential object into another. | 
| void | UserGroupInformation. addCredentials(Credentials credentials)Add the given Credentials to this user. | 
| void | Credentials. mergeAll(Credentials other)Copy all of the credentials from one credential object into another. | 
| Constructor and Description | 
|---|
| Credentials(Credentials credentials)Create a copy of the given credentials | 
Copyright © 2018 Apache Software Foundation. All Rights Reserved.