org.apache.hadoop.mapreduce.security.token
Class JobTokenSelector
java.lang.Object
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.
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 |
JobTokenSelector
public JobTokenSelector()
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 © 2012 Apache Software Foundation. All Rights Reserved.