LDAP Auth in Community Version

Hi folks,
the community version of BOS does not provide LDAP. We urgently need it :slight_smile:

I’ve seen many posts, but no real solution.
I’ve found this LDAP-aware IdentityService | Bonitasoft Community which provides bonita-auth.jar

Does someone have an idea on how to place and include bonita-auth.jar, so that it is used by Bonita?

Would be great to have the information on which files to change and in what directory to put the file. I have the feeling, that many people would like to have a solution here.

Thanks and cheers
Valerio

1 Like

have a look here

http://community.bonitasoft.com/answers/steps-enable-active-directory-bonita-65x-community

and here

http://community.bonitasoft.com/answers/ldap-auth-bonita-bpm-community#node-24997

Note these are both 6.x versions.

For 7 you will have to write your own or update the above…

Simply put however. Community does not and never will have LDAP - it is the free software. For included (and Bonitasoft supported) LDAP you need to purchase a Subscription License. This is true for (nearly) all BPM platforms.

You say your need is Urgent. I have to ask why Urgent? Nothing is that urgent, surely?

regards
Seán

PS: If this reply answers your question, please mark a resolved.

Hi Valerio,

Did you figure it out something about how use LDAP auth in community version ?

Bueno.

Hello,
Here is an option for the community, it has worked for me … it is necessary to make some configurations

http://bpms.help/instruction.php?module=bonita_ldapsynchronizer

This work for me http://bpms.help/instruction.php?module=bonita_ldapsynchronizer version bonita 7.9.x

Hello, 

I want to use the new bonita version 8.0.0, and we are using this authentication : http://bpms.help/instruction.php?module=bonita_ldapsynchronizer

With he new version, the initial bonita jar couldn't work and we can't use the ldap authentication.

Any help ?

Thanks, 

Julie

wow I´ve been trying to do the same, was following this link http://community.bonitasoft.com/questions-and-answers/custom-authentication-service
and I found that Bonita got a configuration file to call its authentication manager I found that file in versión 7 here:
C:\BonitaBPMCommunity-7.1.4\workspace\tomcat\bonita\client\tenants\1\conf\authenticationManager-config
(Im working with the Windows version of bonita).
I tried to create a jar file based on the code from the second link that Sean posted and configure my authenticationManager-config to use my own jar instead of the original but seems like Bonita can´t recognise my jar, actually Im not sure where to move the jar files, I tried moving them to the libs folder of tomcat and the web-App folder but Bonita doesn´t seem to recognise the jar file.

Hi Sean,
thank you for your comment.

I know that LDAP is a subscription feature (that is also why I’ve contacted sales). And I am not criticising that.
‘Urgent’ because we will deliver an application by the end of the month and unfortunately too late discovered, that this feature is bound to the subscription model. (Please note that it was part of the community edition in the past).

I will try out your links, hoping they work with Version 7 and JBOSS. If modifications are needed, I’ll post them here (if someone else has achieved this, he/she is of course invited to post).

Thanks
Valerio

Hi Valerio,

Did you manage to get this to work? Were you going to publish?

regards
Seán

Hello Seán,
we’ve contracted a company to build it for us (we don’t have enough Java Technology knowledge in house to figure it out by ourselves).

BR
Valerio

OK Thanks,

BR

Hi Bueno, we had a company build it for us…

I followed the Instructions in the link but still cant get it working somehow.Server itself is not starting
Bonita Studio 7.8.4
2019-07-22 11:47:26.516 +0530 SEVERE: org.bonitasoft.console.common.server.login.servlet.LoginServlet Error while trying to log in
javax.servlet.ServletException: org.bonitasoft.console.common.server.auth.AuthenticationManagerNotFoundException: The AuthenticationManager implementation help.bpms.bonita.authentication.ldap.LdapAuthenticationManagerImpl does not exist!
at org.bonitasoft.console.common.server.login.LoginManager.getAuthenticationManager(LoginManager.java:111)
at org.bonitasoft.console.common.server.login.LoginManager.loginInternal(LoginManager.java:81)
at org.bonitasoft.console.common.server.login.LoginManager.login(LoginManager.java:67)
at org.bonitasoft.console.common.server.login.servlet.LoginServlet.doLogin(LoginServlet.java:184)
at org.bonitasoft.console.common.server.login.servlet.LoginServlet.doPost(LoginServlet.java:93)
at org.bonitasoft.console.common.server.login.servlet.LoginServlet.doGet(LoginServlet.java:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:800)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.bonitasoft.console.common.server.auth.AuthenticationManagerNotFoundException: The AuthenticationManager implementation help.bpms.bonita.authentication.ldap.LdapAuthenticationManagerImpl does not exist!
at org.bonitasoft.console.common.server.auth.AuthenticationManagerFactory.getAuthenticationManager(AuthenticationManagerFactory.java:41)
at org.bonitasoft.console.common.server.login.LoginManager.getAuthenticationManager(LoginManager.java:105)
… 34 more

If you need help contact me stationfile@gmail.com

Hey thanks a lot for the reply. It finally worked for me as Intially i was changing the configurations inside the war by extracting it and zipping it again which corrupted the jar. Hence used environment variable to take the config file from external path.