Uses of Class
org.apache.hadoop.security.Credentials
Packages that use Credentials
Package
Description
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Classes for hadoop security.
Support for delegation tokens.
-
Uses of Credentials in org.apache.hadoop.crypto.key
Methods in org.apache.hadoop.crypto.key with parameters of type CredentialsModifier and TypeMethodDescriptionToken<?>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 CredentialsModifier and TypeMethodDescriptionToken<?>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 CredentialsModifier and TypeMethodDescriptionUserGroupInformation.getCredentials()Obtain the tokens in credentials form associated with this user.static CredentialsCredentials.readTokenStorageFile(File filename, Configuration conf) Convenience method for reading a token storage file and loading its Tokens.static CredentialsCredentials.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 CredentialsModifier and TypeMethodDescriptionvoidCredentials.addAll(Credentials other) Copy all of the credentials from one credential object into another.voidUserGroupInformation.addCredentials(Credentials credentials) Add the given Credentials to this user.voidCredentials.mergeAll(Credentials other) Copy all of the credentials from one credential object into another.Constructors in org.apache.hadoop.security with parameters of type CredentialsModifierConstructorDescriptionCredentials(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 CredentialsModifier and TypeMethodDescriptiondefault Token<?>[]DelegationTokenIssuer.addDelegationTokens(String renewer, Credentials credentials) Given a renewer, add delegation tokens for issuer and it's child issuers to theCredentialsobject 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 voidDelegationTokenIssuer.collectDelegationTokens(DelegationTokenIssuer issuer, String renewer, Credentials credentials, List<Token<?>> tokens) NEVER call this method directly.static voidDtFileOperations.doFormattedWrite(File f, String format, Credentials creds, Configuration conf) Write out a Credentials object as a local file.static voidDtFileOperations.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 CredentialsModifier and TypeMethodDescriptionToken<? extends TokenIdentifier>DelegationTokenAuthenticatedURL.selectDelegationToken(URL url, Credentials creds) Select a delegation token from all tokens in credentials, based on url.