## Uses of Class
org.apache.hadoop.security.Credentials

- Packages that use Credentials
  Package | Description
  --- | ---
  org.apache.hadoop.mapred |
  org.apache.hadoop.mapreduce |
  org.apache.hadoop.mapreduce.security |
  org.apache.hadoop.security |

- - ### Uses of Credentials in org.apache.hadoop.mapred

    Methods in org.apache.hadoop.mapred that return Credentials
    Modifier and Type | Method and Description
    --- | ---
    `Credentials` | JobConf.`getCredentials()` Get credentials for the job.

  - ### Uses of Credentials in org.apache.hadoop.mapreduce

    Methods in org.apache.hadoop.mapreduce that return Credentials
    Modifier and Type | Method and Description
    --- | ---
    `Credentials` | JobContext.`getCredentials()` Get credentials for the job.

  - ### Uses of Credentials in org.apache.hadoop.mapreduce.security

    Methods in org.apache.hadoop.mapreduce.security with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw Credentials
    Modifier and Type | Method and Description
    --- | ---
    `static byte[]` | TokenCache.`getSecretKey(Credentials credentials, Text alias)` auxiliary method to get user's secret keys..
    `static void` | TokenCache.`obtainTokensForNamenodes(Credentials credentials, Path[] ps, Configuration conf)` Convenience method to obtain delegation tokens from namenodes corresponding to the paths passed.

  - ### Uses of Credentials in org.apache.hadoop.security

    Methods in org.apache.hadoop.security that return 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 its Tokens.
    `static Credentials` | Credentials.`readTokenStorageFile(Path filename, Configuration conf)` Convenience method for reading a token storage file and loading its Tokens.

    Methods in org.apache.hadoop.security with parameters of type Credentials
    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.

    Constructors in org.apache.hadoop.security with parameters of type Credentials
    Constructor and Description
    `Credentials(Credentials credentials)` Create a copy of the given credentials.

Copyright © 2022 Apache Software Foundation. All rights reserved.