org.apache.hadoop.mapreduce.security.token
Class JobTokenSelector
java.lang.Object
org.apache.hadoop.mapreduce.security.token.JobTokenSelector
- All Implemented Interfaces:
- TokenSelector<JobTokenIdentifier>
public class JobTokenSelector
- extends Object
- implements TokenSelector<JobTokenIdentifier>
Look through tokens to find the first job token that matches the service
and return it.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JobTokenSelector
public JobTokenSelector()
selectToken
public Token<JobTokenIdentifier> selectToken(Text service,
Collection<Token<? extends TokenIdentifier>> tokens)
- Specified by:
selectToken
in interface TokenSelector<JobTokenIdentifier>
Copyright © 2009 The Apache Software Foundation