Apache NiFi authentication with Active Directory (LDAP)
Authenticate NiFi users with AD credentials via its LDAP Login Identity Provider, with authorization handled separately.
Last updated
On this page (5)
Apache NiFi · Active Directory / LDAP · LDAP
Before you start
- Secure HTTPS NiFi deployment and access to its server configuration.
- Trusted AD TLS endpoint and restricted directory search account.
Configure sign-in
- Configure the ldap-provider in login-identity-providers.xml with LDAPS or StartTLS, search base and a filter such as sAMAccountName={0}.
- Select it with nifi.security.user.login.identity.provider in nifi.properties and choose an identity strategy consistent with authorizer identities.
- Configure NiFi access policies for the resulting identities; configure a separate LDAP user/group provider only if directory-backed authorization is needed.
Verify the result
- Test valid and invalid directory credentials.
- Confirm the initial administrator identity matches the configured strategy and a limited user cannot edit restricted process groups.
