Support Questions

Find answers, ask questions, and share your expertise

how to integrate NIFI and LDAP?

kindly provide me the steps for nifi and ldap integration.


Hi @pierre Bullard,

I tried to integrate LDAP and nifi but I'm facing issue so that's why I posted. Thanks for ur update.

Expert Contributor

@kishore sanchina - how did you download nifi? did you download from apache website? -- the ranger integration of nifi is available as part of HDF.. you can download HDF from

@hduraiswamy i downloaded HDF form hortonworks portal and installed successfully. for nifi and ldap integration what are the config files i want to modify/change.

Master Guru

@kishore sanchina

If you installed NIFi via HDF Ambari, you will want to edit the ldap-provider settings in in the following section:


Of course you will need to obtain the proper values for your particular LDAP installation.

**** Make sure you remove the two comment lines that wrap this ldap-provider section.

You will also need to set the to "ldap-provider" to match the provider name above:



If you are not using Ambari do install your NiFi, the same configurations needed to be done, but will be performed by manually editing the following files:

1. login-identity-providers.xml



Documentation on NIFi LDAP configuration can be found in the NiFi admin guide also:


A restart of your NiFi will need to occur before these changes will take affect.

Also keep in mind that this does not disable the default user certificate authentication method. Users will only see the login screen if they do not present a user certificate.





@Matt Clarke

I did perform the steps as mentioned above but nifi login did not prompt for any password and direct login is observed.

May I know what do you mean by:

"Also keep in mind that this does not disable the default user certificate authentication method. Users will only see the login screen if they do not present a user certificate."

I believe I am not providing any user certificate and I am logging in to nifi using URL:


In our case 8086 is the used port.

Master Guru

The URL you just shared is http. NiFi must be secured over https before any user authentication can be enabled. You can not perform user authentication over http.


Thank you,


New Contributor

I do not understand why this is so. I also want to add LDAP authentication to my NiFi setup but everything is behind a proxy that's in charge of encryption. The proxy decrypts all the information and sends it as an HTTP request to NiFi. Does this mean that I cannot use LDAP until I can defer the encryption onto the NiFi service?

Master Guru



You are correct, NiFi will not support any form of user/client authentication and authorization until NiFi itself has been secured.



New Contributor

There are multiple resources that can help but will take time to get through.

I experience same feeling and manage to complete the setup within a week. I documented number of critical steps as well as useful resources as following, hope it helps.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.