Uses of Class org.apache.hadoop.security.Credentials (Apache Hadoop Main 3.5.0 API)
Description: use: package: org.apache.hadoop.security, class: Credentials

# 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
Classes for hadoop security.
org.apache.hadoop.security.token.delegation.web

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

  Methods in org.apache.hadoop.mapred that return Credentials
  Modifier and Type
  Method
  Description
  `Credentials`
  JobConf.`getCredentials()`
  Get credentials for the job.
  Methods in org.apache.hadoop.mapred with parameters of type Credentials
  Modifier and Type
  Method
  Description
  `void`
  JobConf.`setCredentials(Credentials credentials)`

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

  Methods in org.apache.hadoop.mapreduce that return Credentials
  Modifier and Type
  Method
  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 that return Credentials
  Modifier and Type
  Method
  Description
  `static Credentials`
  TokenCache.`loadTokens(String jobTokenFile, Configuration conf)`
  Deprecated.
  Use `readTokenStorageFile(org.apache.hadoop.fs.Path, org.apache.hadoop.conf.Configuration)` instead, this method is included for compatibility against Hadoop-1.
  `static Credentials`
  TokenCache.`loadTokens(String jobTokenFile, JobConf conf)`
  Deprecated.
  Use `readTokenStorageFile(org.apache.hadoop.fs.Path, org.apache.hadoop.conf.Configuration)` instead, this method is included for compatibility against Hadoop-1.
  Methods in org.apache.hadoop.mapreduce.security with parameters of type Credentials
  Modifier and Type
  Method
  Description
  `static Token<?>`
  TokenCache.`getDelegationToken(Credentials credentials, String namenode)`
  Deprecated.
  Use `getToken(org.apache.hadoop.io.Text)` instead, this method is included for compatibility against Hadoop-1
  `static byte[]`
  TokenCache.`getEncryptedSpillKey(Credentials credentials)`
  `static Token<org.apache.hadoop.mapreduce.security.token.JobTokenIdentifier>`
  TokenCache.`getJobToken(Credentials credentials)`
  `static byte[]`
  TokenCache.`getSecretKey(Credentials credentials, Text alias)`
  auxiliary method to get user's secret keys..
  `static byte[]`
  TokenCache.`getShuffleSecretKey(Credentials credentials)`
  `static void`
  TokenCache.`obtainTokensForNamenodes(Credentials credentials, Path[] ps, Configuration conf)`
  Convenience method to obtain delegation tokens from namenodes corresponding to the paths passed.
  `static void`
  TokenCache.`setEncryptedSpillKey(byte[] key, Credentials credentials)`
  `static void`
  TokenCache.`setJobToken(Token<? extends TokenIdentifier> t, Credentials credentials)`
  store job token
  `static void`
  TokenCache.`setShuffleSecretKey(byte[] key, Credentials credentials)`

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

  Methods in org.apache.hadoop.security that return Credentials
  Modifier and Type
  Method
  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
  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
  Modifier
  Constructor
  Description
  ``
  `Credentials(Credentials credentials)`
  Create a copy of the given credentials.

- ## Uses of Credentials in org.apache.hadoop.security.token.delegation.web

  Methods in org.apache.hadoop.security.token.delegation.web with parameters of type Credentials
  Modifier and Type
  Method
  Description
  `Token<? extends TokenIdentifier>`
  DelegationTokenAuthenticatedURL.`selectDelegationToken(URL url, Credentials creds)`
  Select a delegation token from all tokens in credentials, based on url.