Class DocumentationProcessorInitializationContext
java.lang.Object
org.apache.nifi.documentation.init.DocumentationProcessorInitializationContext
- All Implemented Interfaces:
KerberosContext
,ProcessorInitializationContext
public class DocumentationProcessorInitializationContext
extends Object
implements ProcessorInitializationContext
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe 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.
-
Field Details
-
uuid
-
nodeTypeProvider
-
-
Constructor Details
-
DocumentationProcessorInitializationContext
public DocumentationProcessorInitializationContext()
-
-
Method Details
-
getIdentifier
- Specified by:
getIdentifier
in interfaceProcessorInitializationContext
- Returns:
- the unique identifier for this processor
-
getLogger
- Specified by:
getLogger
in interfaceProcessorInitializationContext
- Returns:
- a
ComponentLog
that is tied to this processor that can be used to log events
-
getControllerServiceLookup
- Specified by:
getControllerServiceLookup
in interfaceProcessorInitializationContext
- Returns:
- the
ControllerServiceLookup
which can be used to obtain Controller Services
-
getNodeTypeProvider
- Specified by:
getNodeTypeProvider
in interfaceProcessorInitializationContext
- Returns:
- the
NodeTypeProvider
which can be used to detect the node type of this NiFi instance.
-
getKerberosServicePrincipal
Description copied from interface:KerberosContext
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.- Specified by:
getKerberosServicePrincipal
in interfaceKerberosContext
- Returns:
- the principal, or null if this NiFi instance is not configured with a NiFi Kerberos service principal
-
getKerberosServiceKeytab
Description copied from interface:KerberosContext
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.- Specified by:
getKerberosServiceKeytab
in interfaceKerberosContext
- Returns:
- the File instance of the service keytab, or null if this NiFi instance is not configured with a NiFi Kerberos service keytab
-
getKerberosConfigurationFile
Description copied from interface:KerberosContext
The Kerberos configuration file (typically krb5.conf) that will be used by this JVM during all Kerberos operations.- Specified by:
getKerberosConfigurationFile
in interfaceKerberosContext
- Returns:
- the File instance for the Kerberos configuration file, or null if this NiFi instance is not configured with a Kerberos configuration file
-