Hello, i was trying to configure AD integration by following link https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#ldap_login_identity_provider
file: nifi.properties - changed like below nifi.security.user.login.identity.provider=ldap-provider file: login-identity-providers.xml <provider> <identifier>ldap-provider</identifier> <class>org.apache.nifi.ldap.LdapProvider</class> <property name="Authentication Strategy">SIMPLE</property> <property name="Manager DN">OU=Application Servers,DC=example,DC=com</property> <property name="Manager Password">Password</property> <property name="TLS - Keystore"></property> <property name="TLS - Keystore Password"></property> <property name="TLS - Keystore Type"></property> <property name="TLS - Truststore"></property> <property name="TLS - Truststore Password"></property> <property name="TLS - Truststore Type"></property> <property name="TLS - Client Auth"></property> <property name="TLS - Protocol"></property> <property name="TLS - Shutdown Gracefully"></property> <property name="Referral Strategy">FOLLOW</property> <property name="Connect Timeout">10 secs</property> <property name="Read Timeout">10 secs</property> <property name="Url">ldap://corp.mtc.com.kw:389</property> <property name="User Search Base">DC=example,DC=com</property> <property name="User Search Filter">sAMAccountName</property> <property name="Identity Strategy">USE_DN</property> <property name="Authentication Expiration">12 hours</property> </provider> Error logged: ERROR [NiFi logging handler] org.apache.nifi.StdErr Failed to start web server: Error creating bean with name 'niFiWebApiConfiguration': BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'metaDataSourceAdvisor': Cannot resolve reference to bean 'methodSecurityMetadataSource' while setting constructor argument; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration': Unsatisfied dependency expressed through method 'setObjectPostProcessor' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.apache.nifi.web.security.configuration.AuthenticationSecurityConfiguration': Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authorizer': FactoryBean threw exception on object creation; nested exception is org.apache.nifi.authorization.exception.AuthorizerCreationException: SingleUserAuthorizer requires org.apache.nifi.authentication.single.user.SingleUserLoginIdentityProvider to be configured 2022-06-22 15:00:21,286 ERROR [NiFi logging handler] org.apache.nifi.StdErr Shutting down... On Wed, Jun 22, 2022 at 12:30 AM Ben .T.George <bentech4...@gmail.com> wrote: > Thanks, I'll check it out. > > Regards > Ben > > On Wed, 22 Jun 2022, 12:26 am Josh Friberg, <j...@thefribergs.com> wrote: > >> Yes. This is done with LDAP. >> The documentation may be a bit intimidating but I know someone did a >> really nice article about how to do it that I followed but that domain is >> no longer active. A quick google search for "nifi active directory >> authentication" will give you lots of information. >> >> On Tue, Jun 21, 2022 at 12:41 PM Ben .T.George <bentech4...@gmail.com> >> wrote: >> >>> Hello, >>> >>> Thanks for the explanation. >>> >>> Is it possible to configure active directory based authentication.? >>> >>> regards, >>> ben >>> >>> On Tue, Jun 21, 2022 at 8:31 PM Josh Friberg <j...@thefribergs.com> >>> wrote: >>> >>>> The default used to be NO authentication. It was then changed to >>>> single user authentication for localhost only to add a bit more security >>>> out of the box. >>>> >>>> If you want multiple users for the system then you need to select one >>>> of the authentication methods provided in the documentation. >>>> >>>> >>>> On Tue, Jun 21, 2022 at 12:23 PM Ben .T.George <bentech4...@gmail.com> >>>> wrote: >>>> >>>>> Hello, >>>>> >>>>> Thanks for the response. >>>>> >>>>> one question, is it possible to add more than one single user? >>>>> >>>>> or as the name/provider says only one single user? >>>>> >>>>> Regards, >>>>> ben >>>>> >>>>> On Tue, Jun 21, 2022 at 8:18 PM Josh Friberg <j...@thefribergs.com> >>>>> wrote: >>>>> >>>>>> >>>>>> https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#user_authentication >>>>>> >>>>>> On Tue, Jun 21, 2022 at 12:06 PM Ben .T.George <bentech4...@gmail.com> >>>>>> wrote: >>>>>> >>>>>>> Hello, >>>>>>> >>>>>>> I am very new to Nifi and somehow maneged to install it, Currently i >>>>>>> using the username which i taken from log(created while installing) >>>>>>> >>>>>>> How can i add more users for accessing platform? >>>>>>> >>>>>>> regards, >>>>>>> Ben >>>>>>> >>>>>> >>>>> >>>>> -- >>>>> Yours Sincerely >>>>> Ben.T.George >>>>> Phone : +965 - 50629829 / 94100799 >>>>> >>>>> *" Live like you will die tomorrow, learn like you will live forever "* >>>>> >>>> >>> >>> -- >>> Yours Sincerely >>> Ben.T.George >>> Phone : +965 - 50629829 / 94100799 >>> >>> *" Live like you will die tomorrow, learn like you will live forever "* >>> >> -- Yours Sincerely Ben.T.George Phone : +965 - 50629829 / 94100799 *" Live like you will die tomorrow, learn like you will live forever "*