TokenSelector (Apache Hadoop Main 3.5.0 API)
Description: declaration: package: org.apache.hadoop.security.token, interface: TokenSelector

Package org.apache.hadoop.security.token

# Interface TokenSelector<T extends TokenIdentifier>

Type Parameters:
  `T` - T extends TokenIdentifier

All Known Implementing Classes:
  `AMRMTokenSelector`, `ContainerTokenSelector`, `RMDelegationTokenSelector`, `TimelineDelegationTokenSelector`

@Public @Evolving public interface TokenSelector<T extends TokenIdentifier>
Select token of type T from tokens for use with named service

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Token<T>`
  `selectToken(Text service, Collection<Token<? extends TokenIdentifier>> tokens)`

- ## Method Details

  - ### selectToken

    Token<T> selectToken(Text service, Collection<Token<? extends TokenIdentifier>> tokens)