Uses of Class
org.apache.hadoop.security.token.Token
Packages that use Token
Package
Description
Implementations of
AbstractFileSystem for hdfs
over rpc and hdfs over web.ViewFileSystem and ViewFileSystemOverloadScheme classes.
Classes for hadoop security.
Support for delegation tokens.
Router security token delegation.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
-
Uses of Token in org.apache.hadoop.fs
Methods in org.apache.hadoop.fs that return TokenModifier and TypeMethodDescriptionToken<?>FileSystem.getDelegationToken(String renewer) Get a new delegation token for this FileSystem.Methods in org.apache.hadoop.fs that return types with arguments of type TokenModifier and TypeMethodDescriptionAbstractFileSystem.getDelegationTokens(String renewer) Get one or more delegation tokens associated with the filesystem.Get delegation tokens for the file systems accessed for a given path. -
Uses of Token in org.apache.hadoop.fs.viewfs
Methods in org.apache.hadoop.fs.viewfs that return types with arguments of type Token -
Uses of Token in org.apache.hadoop.mapred
Methods in org.apache.hadoop.mapred that return TokenModifier and TypeMethodDescriptionToken<org.apache.hadoop.mapreduce.security.token.delegation.DelegationTokenIdentifier>JobClient.getDelegationToken(Text renewer) Get a delegation token for the user from the JobTracker.Methods in org.apache.hadoop.mapred with parameters of type TokenModifier and TypeMethodDescriptionvoidJobClient.cancelDelegationToken(Token<org.apache.hadoop.mapreduce.security.token.delegation.DelegationTokenIdentifier> token) Deprecated.longJobClient.renewDelegationToken(Token<org.apache.hadoop.mapreduce.security.token.delegation.DelegationTokenIdentifier> token) Deprecated.Userenew(org.apache.hadoop.conf.Configuration)instead -
Uses of Token in org.apache.hadoop.mapreduce
Methods in org.apache.hadoop.mapreduce that return TokenModifier and TypeMethodDescriptionToken<org.apache.hadoop.mapreduce.security.token.delegation.DelegationTokenIdentifier>Cluster.getDelegationToken(Text renewer) Get a delegation token for the user from the JobTracker.Methods in org.apache.hadoop.mapreduce with parameters of type TokenModifier and TypeMethodDescriptionvoidCluster.cancelDelegationToken(Token<org.apache.hadoop.mapreduce.security.token.delegation.DelegationTokenIdentifier> token) Deprecated.Usecancel(org.apache.hadoop.conf.Configuration)insteadlongCluster.renewDelegationToken(Token<org.apache.hadoop.mapreduce.security.token.delegation.DelegationTokenIdentifier> token) Deprecated.Userenew(org.apache.hadoop.conf.Configuration)instead -
Uses of Token in org.apache.hadoop.mapreduce.security
Methods in org.apache.hadoop.mapreduce.security that return TokenModifier and TypeMethodDescriptionstatic Token<?>TokenCache.getDelegationToken(Credentials credentials, String namenode) Deprecated.UseCredentials.getToken(org.apache.hadoop.io.Text)instead, this method is included for compatibility against Hadoop-1static Token<org.apache.hadoop.mapreduce.security.token.JobTokenIdentifier>TokenCache.getJobToken(Credentials credentials) Methods in org.apache.hadoop.mapreduce.security with parameters of type TokenModifier and TypeMethodDescriptionstatic voidTokenCache.setJobToken(Token<? extends TokenIdentifier> t, Credentials credentials) store job token -
Uses of Token in org.apache.hadoop.security
Methods in org.apache.hadoop.security that return TokenModifier and TypeMethodDescriptionToken<? extends TokenIdentifier>Returns the Token object for the alias.Methods in org.apache.hadoop.security that return types with arguments of type TokenModifier and TypeMethodDescriptionCollection<Token<? extends TokenIdentifier>>Credentials.getAllTokens()Return all the tokens in the in-memory map.Map<Text,Token<? extends TokenIdentifier>> Credentials.getTokenMap()Returns an unmodifiable version of the full map of aliases to Tokens.Collection<Token<? extends TokenIdentifier>>UserGroupInformation.getTokens()Obtain the collection of tokens associated with this user.Methods in org.apache.hadoop.security with parameters of type TokenModifier and TypeMethodDescriptionvoidCredentials.addToken(Text alias, Token<? extends TokenIdentifier> t) Add a token in the storage (in memory).booleanUserGroupInformation.addToken(Text alias, Token<? extends TokenIdentifier> token) Add a named token to this UGIbooleanUserGroupInformation.addToken(Token<? extends TokenIdentifier> token) Add a token to this UGIstatic InetSocketAddressSecurityUtil.getTokenServiceAddr(Token<?> token) Decode the given token's service field into an InetAddressstatic voidSecurityUtil.setTokenService(Token<?> token, InetSocketAddress addr) Set the given token's service to the format expected by the RPC client -
Uses of Token in org.apache.hadoop.security.token
Methods in org.apache.hadoop.security.token that return TokenModifier and TypeMethodDescriptionToken.copyToken()Token.privateClone(Text newService) Create a private clone of a public token.TokenSelector.selectToken(Text service, Collection<Token<? extends TokenIdentifier>> tokens) Methods in org.apache.hadoop.security.token with parameters of type TokenModifier and TypeMethodDescriptionvoidToken.TrivialRenewer.cancel(Token<?> token, Configuration conf) abstract voidTokenRenewer.cancel(Token<?> token, Configuration conf) Cancel the given token.booleanabstract booleanIs the given token managed?longToken.TrivialRenewer.renew(Token<?> token, Configuration conf) abstract longTokenRenewer.renew(Token<?> token, Configuration conf) Renew the given token.Method parameters in org.apache.hadoop.security.token with type arguments of type TokenModifier and TypeMethodDescriptionTokenSelector.selectToken(Text service, Collection<Token<? extends TokenIdentifier>> tokens) Constructors in org.apache.hadoop.security.token with parameters of type Token -
Uses of Token in org.apache.hadoop.security.token.delegation
Methods in org.apache.hadoop.security.token.delegation with parameters of type TokenModifier and TypeMethodDescriptionAbstractDelegationTokenSecretManager.cancelToken(Token<TokenIdent> token, String canceller) Cancel a token by removing it from cache.AbstractDelegationTokenSecretManager.decodeTokenIdentifier(Token<TokenIdent> token) Decode the token identifier.longAbstractDelegationTokenSecretManager.renewToken(Token<TokenIdent> token, String renewer) Renew a delegation token. -
Uses of Token in org.apache.hadoop.security.token.delegation.web
Methods in org.apache.hadoop.security.token.delegation.web that return TokenModifier and TypeMethodDescriptionDelegationTokenAuthenticatedURL.getDelegationToken(URL url, DelegationTokenAuthenticatedURL.Token token, String renewer) Requests a delegation token using the configuredAuthenticatorfor authentication.DelegationTokenAuthenticatedURL.getDelegationToken(URL url, DelegationTokenAuthenticatedURL.Token token, String renewer, String doAsUser) Requests a delegation token using the configuredAuthenticatorfor authentication.DelegationTokenAuthenticatedURL.Token.getDelegationToken()DelegationTokenAuthenticator.getDelegationToken(URL url, org.apache.hadoop.security.authentication.client.AuthenticatedURL.Token token, String renewer) Requests a delegation token using the configuredAuthenticatorfor authentication.DelegationTokenAuthenticator.getDelegationToken(URL url, org.apache.hadoop.security.authentication.client.AuthenticatedURL.Token token, String renewer, String doAsUser) Requests a delegation token using the configuredAuthenticatorfor authentication.Token<? extends TokenIdentifier>DelegationTokenAuthenticatedURL.selectDelegationToken(URL url, Credentials creds) Select a delegation token from all tokens in credentials, based on url.Methods in org.apache.hadoop.security.token.delegation.web with parameters of type TokenModifier and TypeMethodDescriptionvoidDelegationTokenAuthenticator.cancelDelegationToken(URL url, org.apache.hadoop.security.authentication.client.AuthenticatedURL.Token token, Token<AbstractDelegationTokenIdentifier> dToken) Cancels a delegation token from the server end-point.voidDelegationTokenAuthenticator.cancelDelegationToken(URL url, org.apache.hadoop.security.authentication.client.AuthenticatedURL.Token token, Token<AbstractDelegationTokenIdentifier> dToken, String doAsUser) Cancels a delegation token from the server end-point.longDelegationTokenAuthenticator.renewDelegationToken(URL url, org.apache.hadoop.security.authentication.client.AuthenticatedURL.Token token, Token<AbstractDelegationTokenIdentifier> dToken) Renews a delegation token from the server end-point using the configuredAuthenticatorfor authentication.longDelegationTokenAuthenticator.renewDelegationToken(URL url, org.apache.hadoop.security.authentication.client.AuthenticatedURL.Token token, Token<AbstractDelegationTokenIdentifier> dToken, String doAsUser) Renews a delegation token from the server end-point using the configuredAuthenticatorfor authentication.voidDelegationTokenAuthenticatedURL.Token.setDelegationToken(Token<AbstractDelegationTokenIdentifier> delegationToken) -
Uses of Token in org.apache.hadoop.yarn.client.api
Methods in org.apache.hadoop.yarn.client.api that return TokenModifier and TypeMethodDescriptionabstract Token<AMRMTokenIdentifier>YarnClient.getAMRMToken(ApplicationId appId) Get the AMRM token of the application.abstract Token<TimelineDelegationTokenIdentifier>TimelineClient.getDelegationToken(String renewer) Get a delegation token so as to be able to talk to the timeline server in a secure way.Methods in org.apache.hadoop.yarn.client.api with parameters of type TokenModifier and TypeMethodDescriptionabstract voidTimelineClient.cancelDelegationToken(Token<TimelineDelegationTokenIdentifier> timelineDT) Cancel a timeline delegation token.abstract longTimelineClient.renewDelegationToken(Token<TimelineDelegationTokenIdentifier> timelineDT) Renew a timeline delegation token. -
Uses of Token in org.apache.hadoop.yarn.security
Methods in org.apache.hadoop.yarn.security that return TokenModifier and TypeMethodDescriptionAMRMTokenSelector.selectToken(Text service, Collection<Token<? extends TokenIdentifier>> tokens) ContainerTokenSelector.selectToken(Text service, Collection<Token<? extends TokenIdentifier>> tokens) Method parameters in org.apache.hadoop.yarn.security with type arguments of type TokenModifier and TypeMethodDescriptionAMRMTokenSelector.selectToken(Text service, Collection<Token<? extends TokenIdentifier>> tokens) ContainerTokenSelector.selectToken(Text service, Collection<Token<? extends TokenIdentifier>> tokens) -
Uses of Token in org.apache.hadoop.yarn.security.client
Methods in org.apache.hadoop.yarn.security.client that return TokenModifier and TypeMethodDescriptionRMDelegationTokenSelector.selectToken(Text service, Collection<Token<? extends TokenIdentifier>> tokens) TimelineDelegationTokenSelector.selectToken(Text service, Collection<Token<? extends TokenIdentifier>> tokens) Method parameters in org.apache.hadoop.yarn.security.client with type arguments of type TokenModifier and TypeMethodDescriptionRMDelegationTokenSelector.selectToken(Text service, Collection<Token<? extends TokenIdentifier>> tokens) TimelineDelegationTokenSelector.selectToken(Text service, Collection<Token<? extends TokenIdentifier>> tokens) -
Uses of Token in org.apache.hadoop.yarn.util
Methods in org.apache.hadoop.yarn.util that return TokenModifier and TypeMethodDescriptionstatic <T extends TokenIdentifier>
Token<T>ConverterUtils.convertFromYarn(Token protoToken, InetSocketAddress serviceAddr) Convert a protobuf token into a rpc token and set its service.static <T extends TokenIdentifier>
Token<T>ConverterUtils.convertFromYarn(Token protoToken, Text service) Convert a protobuf token into a rpc token and set its service.
cancel(org.apache.hadoop.conf.Configuration)instead