Interface KerberosContext

All Known Subinterfaces:
ControllerServiceInitializationContext, FlowAnalysisRuleInitializationContext, ParameterProviderInitializationContext, ProcessorInitializationContext, ReportingInitializationContext
All Known Implementing Classes:
DocumentationControllerServiceInitializationContext, DocumentationFlowAnalysisRuleInitializationContext, DocumentationParameterProviderInitializationContext, DocumentationProcessorInitializationContext, DocumentationReportingInitializationContext

public interface KerberosContext
  • Method Summary

    Modifier and Type
    Method
    Description
    The Kerberos configuration file (typically krb5.conf) that will be used by this JVM during all Kerberos operations.
    The File instance for the Kerberos service keytab.
    The Kerberos service principal used by NiFi to communicate with the KDC in order to obtain tickets on behalf of NiFi.
  • Method Details

    • getKerberosServicePrincipal

      String getKerberosServicePrincipal()
      The Kerberos service principal used by NiFi to communicate with the KDC in order to obtain tickets on behalf of NiFi. Typically of the form NIFI/fully.qualified.domain@REALM.
      Returns:
      the principal, or null if this NiFi instance is not configured with a NiFi Kerberos service principal
    • getKerberosServiceKeytab

      File getKerberosServiceKeytab()
      The File instance for the Kerberos service keytab. The service principal and service keytab will be used to communicate with the KDC to obtain tickets on behalf of NiFi.
      Returns:
      the File instance of the service keytab, or null if this NiFi instance is not configured with a NiFi Kerberos service keytab
    • getKerberosConfigurationFile

      File getKerberosConfigurationFile()
      The Kerberos configuration file (typically krb5.conf) that will be used by this JVM during all Kerberos operations.
      Returns:
      the File instance for the Kerberos configuration file, or null if this NiFi instance is not configured with a Kerberos configuration file