@InterfaceAudience.Public
@InterfaceStability.Stable
public class AdminSecurityInfo
extends org.apache.hadoop.security.SecurityInfo
Constructor and Description |
---|
AdminSecurityInfo() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.security.KerberosInfo |
getKerberosInfo(Class<?> protocol,
Configuration conf)
Get the KerberosInfo for a given protocol.
|
TokenInfo |
getTokenInfo(Class<?> protocol,
Configuration conf)
Get the TokenInfo for a given protocol.
|
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 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 © 2023 Apache Software Foundation. All rights reserved.