Uses of Class org.apache.hadoop.security.Credentials (Apache Hadoop Common 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.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.security
Classes for hadoop security.
org.apache.hadoop.security.token
Support for delegation tokens.
org.apache.hadoop.security.token.delegation.web

- ## Uses of Credentials in org.apache.hadoop.crypto.key

  Methods in org.apache.hadoop.crypto.key with parameters of type Credentials
  Modifier and Type
  Method
  Description
  `Token<?>`
  KeyProviderDelegationTokenExtension.DelegationTokenExtension.`selectDelegationToken(Credentials creds)`

- ## Uses of Credentials in org.apache.hadoop.crypto.key.kms

  Methods in org.apache.hadoop.crypto.key.kms with parameters of type Credentials
  Modifier and Type
  Method
  Description
  `Token<?>`
  KMSClientProvider.`selectDelegationToken(Credentials creds)`
  `protected static Token<?>`
  KMSClientProvider.`selectDelegationToken(Credentials creds, Text service)`
  `Token<? extends TokenIdentifier>`
  LoadBalancingKMSClientProvider.`selectDelegationToken(Credentials creds)`

- ## 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

  Methods in org.apache.hadoop.security.token with parameters of type Credentials
  Modifier and Type
  Method
  Description
  `default Token<?>[]`
  DelegationTokenIssuer.`addDelegationTokens(String renewer, Credentials credentials)`
  Given a renewer, add delegation tokens for issuer and it's child issuers to the `Credentials` object if it is not already present.
  `Token<?>`
  DtFetcher.`addDelegationTokens(Configuration conf, Credentials creds, String renewer, String url)`
  Add any number of delegation tokens to Credentials object and return a token instance that is appropriate for aliasing, or null if none.
  `static void`
  DelegationTokenIssuer.`collectDelegationTokens(DelegationTokenIssuer issuer, String renewer, Credentials credentials, List<Token<?>> tokens)`
  NEVER call this method directly.
  `static void`
  DtFileOperations.`doFormattedWrite(File f, String format, Credentials creds, Configuration conf)`
  Write out a Credentials object as a local file.
  `static void`
  DtFileOperations.`printCredentials(Credentials creds, Text alias, PrintStream out)`
  Print out a Credentials object.

- ## 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.