Package org.apache.nifi.kerberos
Interface KerberosUserService
- All Superinterfaces:
ConfigurableComponent,ControllerService
- All Known Subinterfaces:
SelfContainedKerberosUserService
Creates a KerberosUser which can be used for performing Kerberos authentication. Implementations should not cache a
KerberosUser and return it to multiple callers, as any given caller could call logout and thus impact other callers
with the same instance.
It is the responsibility of the consumer to manage the lifecycle of the user by calling login and logout
appropriately. Generally the KerberosAction class should be used to execute an action as the given user with
proper handling of login/re-login.
-
Method Summary
Modifier and TypeMethodDescriptionCreates and returns a new instance of KerberosUser based on the configuration of the implementing service.Methods inherited from interface org.apache.nifi.components.ConfigurableComponent
getIdentifier, getPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validateMethods inherited from interface org.apache.nifi.controller.ControllerService
initialize, isStateful, migrateProperties
-
Method Details
-
createKerberosUser
KerberosUser createKerberosUser()Creates and returns a new instance of KerberosUser based on the configuration of the implementing service.- Returns:
- a new KerberosUser instance
-