Support Questions

Find answers, ask questions, and share your expertise

Error in enabling LDAP in apache nifi

avatar
Explorer

Hi All,

We are getting LDap issues while setting it up with LDAp.

Error creating bean with name 'loginIdentityProvider': FactoryBean threw exception on object creation; nested exception is java.lang.NullPointerException

Steps taken':

1)Updated Nifi.properties under security properties with "nifi.security.user.login.identity.provider=ldap-provider".

2)Login-identity-provider.xml --updated all the ldap identities.

As we have to setup admin console on HTTPS we have tried with Cert as well but Ldap is also required to pic user/password.but We are getting issues in setting up LDAP only and moving forward we to enable https as well for a while we have commented Https settings in nifi.properties.

PLease guide us .

As i have tried most of the other queries posted in the community, but nothing works for me.

Regards

Matt

1 ACCEPTED SOLUTION

avatar
Explorer

it is working now just have commented the keystore entry in the ldap settings.

and it has picked up from the Truststore .

View solution in original post

2 REPLIES 2

avatar
Master Mentor

@matthew N

Sharing the full stack trace that goes along with the above NPE will help identify where the issue is occurring.

avatar
Explorer

it is working now just have commented the keystore entry in the ldap settings.

and it has picked up from the Truststore .