Uses of Class
org.apache.hadoop.security.token.Token
Packages that use Token
Package
Description
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
An abstract file system API.
ViewFileSystem and ViewFileSystemOverloadScheme classes.
Tools to help define network clients and servers.
IPC internal classes not for any use by libraries outside
the apache hadoop source tree.
Classes for hadoop security.
Support for delegation tokens.
ZooKeeper secret manager for TokenIdentifiers and DelegationKeys.
-
Uses of Token in org.apache.hadoop.crypto.key
Methods in org.apache.hadoop.crypto.key that return TokenModifier and TypeMethodDescriptionToken<?>KeyProviderDelegationTokenExtension.getDelegationToken(String renewer) Token<?>KeyProviderDelegationTokenExtension.DelegationTokenExtension.selectDelegationToken(Credentials creds) Methods in org.apache.hadoop.crypto.key with parameters of type TokenModifier and TypeMethodDescriptionKeyProviderDelegationTokenExtension.DelegationTokenExtension.cancelDelegationToken(Token<?> token) Cancels the given token.longKeyProviderDelegationTokenExtension.DelegationTokenExtension.renewDelegationToken(Token<?> token) Renews the given token. -
Uses of Token in org.apache.hadoop.crypto.key.kms
Methods in org.apache.hadoop.crypto.key.kms that return TokenModifier and TypeMethodDescriptionToken<?>KMSClientProvider.getDelegationToken(String renewer) Token<?>LoadBalancingKMSClientProvider.getDelegationToken(String renewer) Token<?>KMSClientProvider.selectDelegationToken(Credentials creds) protected static Token<?>KMSClientProvider.selectDelegationToken(Credentials creds, Text service) Token<? extends TokenIdentifier>LoadBalancingKMSClientProvider.selectDelegationToken(Credentials creds) Methods in org.apache.hadoop.crypto.key.kms with parameters of type TokenModifier and TypeMethodDescriptionvoidKMSClientProvider.KMSTokenRenewer.cancel(Token<?> token, Configuration conf) KMSClientProvider.cancelDelegationToken(Token<?> dToken) LoadBalancingKMSClientProvider.cancelDelegationToken(Token<?> token) booleanlongKMSClientProvider.KMSTokenRenewer.renew(Token<?> token, Configuration conf) longKMSClientProvider.renewDelegationToken(Token<?> dToken) longLoadBalancingKMSClientProvider.renewDelegationToken(Token<?> token) -
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.Token<?>DelegationTokenRenewer.Renewable.getRenewToken()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.DelegateToFileSystem.getDelegationTokens(String renewer) FileContext.getDelegationTokens(Path p, String renewer) Get delegation tokens for the file systems accessed for a given path.FilterFs.getDelegationTokens(String renewer) Methods in org.apache.hadoop.fs with parameters of type TokenModifier and TypeMethodDescription<T extends TokenIdentifier>
voidDelegationTokenRenewer.Renewable.setDelegationToken(Token<T> token) Set delegation token. -
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.ipc
Methods in org.apache.hadoop.ipc that return TokenModifier and TypeMethodDescriptionstatic Token<? extends TokenIdentifier>ProtobufHelper.tokenFromProto(org.apache.hadoop.security.proto.SecurityProtos.TokenProto tokenProto) Deprecated.Get a token from a TokenProto payload.Methods in org.apache.hadoop.ipc with parameters of type TokenModifier and TypeMethodDescriptionstatic org.apache.hadoop.security.proto.SecurityProtos.TokenProtoProtobufHelper.protoFromToken(Token<?> tok) Deprecated.Create aTokenProtoinstance from a hadoop token. -
Uses of Token in org.apache.hadoop.ipc.internal
Methods in org.apache.hadoop.ipc.internal that return TokenModifier and TypeMethodDescriptionstatic Token<? extends TokenIdentifier>ShadedProtobufHelper.tokenFromProto(org.apache.hadoop.security.proto.SecurityProtos.TokenProto tokenProto) Create a hadoop token from a protobuf token.Methods in org.apache.hadoop.ipc.internal with parameters of type TokenModifier and TypeMethodDescriptionstatic org.apache.hadoop.security.proto.SecurityProtos.TokenProtoShadedProtobufHelper.protoFromToken(Token<?> tok) Create aTokenProtoinstance from a hadoop 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 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.Token.copyToken()Token<?>DelegationTokenIssuer.getDelegationToken(String renewer) Unconditionally get a new token with the optional renewer.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 TypeMethodDescriptionstatic voidDelegationTokenIssuer.collectDelegationTokens(DelegationTokenIssuer issuer, String renewer, Credentials credentials, List<Token<?>> tokens) NEVER call this method directly.TokenSelector.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 that return TokenModifier and TypeMethodDescriptionAbstractDelegationTokenSelector.selectToken(Text service, Collection<Token<? extends TokenIdentifier>> tokens) 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.SQLDelegationTokenSecretManager.cancelToken(Token<TokenIdent> token, String canceller) Cancels a token by removing it from the SQL database.ZKDelegationTokenSecretManager.cancelToken(Token<TokenIdent> token, String canceller) AbstractDelegationTokenSecretManager.decodeTokenIdentifier(Token<TokenIdent> token) Decode the token identifier.longAbstractDelegationTokenSecretManager.renewToken(Token<TokenIdent> token, String renewer) Renew a delegation token.Method parameters in org.apache.hadoop.security.token.delegation with type arguments of type TokenModifier and TypeMethodDescriptionAbstractDelegationTokenSelector.selectToken(Text service, Collection<Token<? extends TokenIdentifier>> tokens) -
Uses of Token in org.apache.hadoop.security.token.delegation.web
Methods in org.apache.hadoop.security.token.delegation.web that return TokenModifier and TypeMethodDescriptionToken<? extends AbstractDelegationTokenIdentifier>DelegationTokenManager.createToken(UserGroupInformation ugi, String renewer) Token<? extends AbstractDelegationTokenIdentifier>DelegationTokenManager.createToken(UserGroupInformation ugi, String renewer, String service) DelegationTokenAuthenticatedURL.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.voidDelegationTokenManager.cancelToken(Token<? extends AbstractDelegationTokenIdentifier> token, String canceler) 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.longDelegationTokenManager.renewToken(Token<? extends AbstractDelegationTokenIdentifier> token, String renewer) voidDelegationTokenAuthenticatedURL.Token.setDelegationToken(Token<AbstractDelegationTokenIdentifier> delegationToken) DelegationTokenManager.verifyToken(Token<? extends AbstractDelegationTokenIdentifier> token)