org.apache.hadoop.mapreduce.security.token
Class JobTokenSelector

java.lang.Object
  extended by org.apache.hadoop.mapreduce.security.token.JobTokenSelector
All Implemented Interfaces:
org.apache.hadoop.security.token.TokenSelector<JobTokenIdentifier>

@InterfaceAudience.Private
@InterfaceStability.Unstable
public class JobTokenSelector
extends Object
implements org.apache.hadoop.security.token.TokenSelector<JobTokenIdentifier>

Look through tokens to find the first job token that matches the service and return it.


Constructor Summary
JobTokenSelector()
           
 
Method Summary
 org.apache.hadoop.security.token.Token<JobTokenIdentifier> selectToken(org.apache.hadoop.io.Text service, Collection<org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier>> tokens)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobTokenSelector

public JobTokenSelector()
Method Detail

selectToken

public org.apache.hadoop.security.token.Token<JobTokenIdentifier> selectToken(org.apache.hadoop.io.Text service,
                                                                              Collection<org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier>> tokens)
Specified by:
selectToken in interface org.apache.hadoop.security.token.TokenSelector<JobTokenIdentifier>


Copyright © 2013 Apache Software Foundation. All Rights Reserved.