SecurityInfo (Apache Hadoop Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.security, class: SecurityInfo

Package org.apache.hadoop.security

# Class SecurityInfo

java.lang.Object
org.apache.hadoop.security.SecurityInfo

Direct Known Subclasses:
  `AnnotatedSecurityInfo`

@Evolving @LimitedPrivate({"MapReduce","HDFS"}) public abstract class SecurityInfo extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SecurityInfo()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract KerberosInfo`
  `getKerberosInfo(Class<?> protocol, Configuration conf)`
  Get the KerberosInfo for a given protocol.
  `abstract 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 Details

  - ### SecurityInfo

    public SecurityInfo()

- ## Method Details

  - ### getKerberosInfo

    public abstract KerberosInfo getKerberosInfo(Class<?> protocol, Configuration conf)
    Get the KerberosInfo for a given protocol.
    Parameters:
      `protocol` - interface class
      `conf` - configuration
    Returns:
      KerberosInfo

  - ### getTokenInfo

    public abstract TokenInfo getTokenInfo(Class<?> protocol, Configuration conf)
    Get the TokenInfo for a given protocol.
    Parameters:
      `protocol` - interface class
      `conf` - configuration object.
    Returns:
      TokenInfo instance