Class AbstractDelegationTokenSelector<TokenIdent extends AbstractDelegationTokenIdentifier>
java.lang.Object
org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSelector<TokenIdent>
- All Implemented Interfaces:
TokenSelector<TokenIdent>
@LimitedPrivate({"HDFS","MapReduce"})
@Evolving
public class AbstractDelegationTokenSelector<TokenIdent extends AbstractDelegationTokenIdentifier>
extends Object
implements TokenSelector<TokenIdent>
Look through tokens to find the first delegation token that matches the
service and return it.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionselectToken(Text service, Collection<Token<? extends TokenIdentifier>> tokens)
-
Constructor Details
-
AbstractDelegationTokenSelector
-
-
Method Details
-
selectToken
public Token<TokenIdent> selectToken(Text service, Collection<Token<? extends TokenIdentifier>> tokens) - Specified by:
selectTokenin interfaceTokenSelector<TokenIdent extends AbstractDelegationTokenIdentifier>
-