org.apache.hadoop.yarn.security.client
Class ClientTimelineSecurityInfo

java.lang.Object
  extended by org.apache.hadoop.security.SecurityInfo
      extended by org.apache.hadoop.yarn.security.client.ClientTimelineSecurityInfo

@InterfaceAudience.Public
@InterfaceStability.Unstable
public class ClientTimelineSecurityInfo
extends org.apache.hadoop.security.SecurityInfo


Constructor Summary
ClientTimelineSecurityInfo()
           
 
Method Summary
 org.apache.hadoop.security.KerberosInfo getKerberosInfo(Class<?> protocol, Configuration conf)
          Get the KerberosInfo for a given protocol.
 org.apache.hadoop.security.token.TokenInfo getTokenInfo(Class<?> protocol, Configuration conf)
          Get the TokenInfo for a given protocol.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientTimelineSecurityInfo

public ClientTimelineSecurityInfo()
Method Detail

getKerberosInfo

public org.apache.hadoop.security.KerberosInfo getKerberosInfo(Class<?> protocol,
                                                               Configuration conf)
Description copied from class: org.apache.hadoop.security.SecurityInfo
Get the KerberosInfo for a given protocol.

Specified by:
getKerberosInfo in class org.apache.hadoop.security.SecurityInfo
Parameters:
protocol - interface class
conf - configuration
Returns:
KerberosInfo

getTokenInfo

public org.apache.hadoop.security.token.TokenInfo getTokenInfo(Class<?> protocol,
                                                               Configuration conf)
Description copied from class: org.apache.hadoop.security.SecurityInfo
Get the TokenInfo for a given protocol.

Specified by:
getTokenInfo in class org.apache.hadoop.security.SecurityInfo
Parameters:
protocol - interface class
conf - configuration object.
Returns:
TokenInfo instance


Copyright © 2014 Apache Software Foundation. All Rights Reserved.