@InterfaceAudience.Public @InterfaceStability.Stable public class SchedulerSecurityInfo extends org.apache.hadoop.security.SecurityInfo
Constructor and Description |
---|
SchedulerSecurityInfo() |
Modifier and Type | Method and Description |
---|---|
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.
|
public SchedulerSecurityInfo()
public org.apache.hadoop.security.KerberosInfo getKerberosInfo(Class<?> protocol, Configuration conf)
org.apache.hadoop.security.SecurityInfo
getKerberosInfo
in class org.apache.hadoop.security.SecurityInfo
protocol
- interface classconf
- configurationpublic org.apache.hadoop.security.token.TokenInfo getTokenInfo(Class<?> protocol, Configuration conf)
org.apache.hadoop.security.SecurityInfo
getTokenInfo
in class org.apache.hadoop.security.SecurityInfo
protocol
- interface classconf
- configuration object.Copyright © 2018 Apache Software Foundation. All rights reserved.