## Uses of Class
org.apache.hadoop.security.token.Token

Packages that use Token
org.apache.hadoop.fs: An abstract file system API.
org.apache.hadoop.mapred: A software framework for easily writing applications which process vast amounts of data (multi-terabyte data-sets) parallelly on large clusters (thousands of nodes) built of commodity hardware in a reliable, fault-tolerant manner.
org.apache.hadoop.mapreduce.security
org.apache.hadoop.mapreduce.security.token
org.apache.hadoop.security
org.apache.hadoop.security.token
org.apache.hadoop.security.token.delegation

Uses of Token in org.apache.hadoop.fs

Methods in org.apache.hadoop.fs that return Token
`Token<?>` `FileSystem.getDelegationToken(String renewer)` Get a new delegation token for this file system.

Uses of Token in org.apache.hadoop.mapred

Methods in org.apache.hadoop.mapred that return Token
`Token<DelegationTokenIdentifier>` `JobTracker.getDelegationToken(Text renewer)` Get a new delegation token.
`Token<DelegationTokenIdentifier>` `JobClient.getDelegationToken(Text renewer)`

Methods in org.apache.hadoop.mapred with parameters of type Token
`void` `JobClient.Renewer.cancel(Token<?> token, Configuration conf)`
`void` `JobTracker.cancelDelegationToken(Token<DelegationTokenIdentifier> token)` Discard a current delegation token.
`void` `JobClient.cancelDelegationToken(Token<DelegationTokenIdentifier> token)` Cancel a delegation token from the JobTracker
`boolean` `JobClient.Renewer.isManaged(Token<?> token)`
`long` `JobClient.Renewer.renew(Token<?> token, Configuration conf)`
`long` `JobTracker.renewDelegationToken(Token<DelegationTokenIdentifier> token)` Renew a delegation token to extend its lifetime.
`long` `JobClient.renewDelegationToken(Token<DelegationTokenIdentifier> token)` Renew a delegation token

Uses of Token in org.apache.hadoop.mapreduce.security

Methods in org.apache.hadoop.mapreduce.security that return Token
`static Token<org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenIdentifier>` `TokenCache.getDelegationToken(Credentials credentials, String namenode)`
`static Token<JobTokenIdentifier>` `TokenCache.getJobToken(Credentials credentials)`

Methods in org.apache.hadoop.mapreduce.security with parameters of type Token
`static void` `TokenCache.setJobToken(Token<? extends TokenIdentifier> t, Credentials credentials)` store job token

Uses of Token in org.apache.hadoop.mapreduce.security.token

Methods in org.apache.hadoop.mapreduce.security.token that return Token
`Token<JobTokenIdentifier>` `JobTokenSelector.selectToken(Text service, Collection<Token<? extends TokenIdentifier>> tokens)`

Methods in org.apache.hadoop.mapreduce.security.token with parameters of type Token
`void` `JobTokenSecretManager.addTokenForJob(String jobId, Token<JobTokenIdentifier> token)` Add the job token of a job to cache

Method parameters in org.apache.hadoop.mapreduce.security.token with type arguments of type Token
`Token<JobTokenIdentifier>` `JobTokenSelector.selectToken(Text service, Collection<Token<? extends TokenIdentifier>> tokens)`

Uses of Token in org.apache.hadoop.security

Methods in org.apache.hadoop.security that return Token
`Token<? extends TokenIdentifier>` `Credentials.getToken(Text alias)` Returns the Token object for the alias

Methods in org.apache.hadoop.security that return types with arguments of type Token
`Collection<Token<? extends TokenIdentifier>>` `Credentials.getAllTokens()` Return all the tokens in the in-memory map
`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 Token
`void` `Credentials.addToken(Text alias, Token<? extends TokenIdentifier> t)` Add a token in the storage (in memory)
`boolean` `UserGroupInformation.addToken(Token<? extends TokenIdentifier> token)` Add a token to this UGI
`static InetSocketAddress` `SecurityUtil.getTokenServiceAddr(Token<?> token)` Decode the given token's service field into an InetAddress
`static void` `SecurityUtil.setTokenService(Token<?> token, InetSocketAddress addr)` Set the given token's service to the format expected by the RPC client

Constructors in org.apache.hadoop.security with parameters of type Token
`SaslRpcClient(SaslRpcServer.AuthMethod method, Token<? extends TokenIdentifier> token, String serverPrincipal)` Create a SaslRpcClient for an authentication method

Uses of Token in org.apache.hadoop.security.token

Methods in org.apache.hadoop.security.token that return Token
`Token<T>` `TokenSelector.selectToken(Text service, Collection<Token<? extends TokenIdentifier>> tokens)`

Methods in org.apache.hadoop.security.token with parameters of type Token
`abstract void` `TokenRenewer.cancel(Token<?> token, Configuration conf)` Cancel the given token
`void` `Token.TrivialRenewer.cancel(Token<?> token, Configuration conf)`
`abstract boolean` `TokenRenewer.isManaged(Token<?> token)` Is the given token managed? Only managed tokens may be renewed or cancelled.
`boolean` `Token.TrivialRenewer.isManaged(Token<?> token)`
`abstract long` `TokenRenewer.renew(Token<?> token, Configuration conf)` Renew the given token.
`long` `Token.TrivialRenewer.renew(Token<?> token, Configuration conf)`

Method parameters in org.apache.hadoop.security.token with type arguments of type Token
`Token<T>` `TokenSelector.selectToken(Text service, Collection<Token<? extends TokenIdentifier>> tokens)`

Constructors in org.apache.hadoop.security.token with parameters of type Token
`Token(Token<T> other)` Clone a token.

Uses of Token in org.apache.hadoop.security.token.delegation

Methods in org.apache.hadoop.security.token.delegation that return Token
`Token<TokenIdent>` `AbstractDelegationTokenSelector.selectToken(Text service, Collection<Token<? extends TokenIdentifier>> tokens)`

Methods in org.apache.hadoop.security.token.delegation with parameters of type Token
`TokenIdent` `AbstractDelegationTokenSecretManager.cancelToken(Token<TokenIdent> token, String canceller)` Cancel a token by removing it from cache.
`long` `AbstractDelegationTokenSecretManager.renewToken(Token<TokenIdent> token, String renewer)` Renew a delegation token.

Method parameters in org.apache.hadoop.security.token.delegation with type arguments of type Token
`Token<TokenIdent>` `AbstractDelegationTokenSelector.selectToken(Text service, Collection<Token<? extends TokenIdentifier>> tokens)`

Copyright © 2009 The Apache Software Foundation