LDAP Auth in Community Version

1
+1
-1

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

I've seen many posts, but no real solution.
I've found this http://community.bonitasoft.com/project/ldap-aware-identityservice 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

Comments

Submitted by mzhu on Mon, 01/18/2016 - 14:16

wow I´ve been trying to do the same, was following this link http://community.bonitasoft.com/questions-and-answers/custom-authenticat...
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.

5 answers

1
+2
-1

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.

Comments

Submitted by valerioneri.de on Fri, 01/15/2016 - 18:37

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

Submitted by Sean McP on Mon, 09/19/2016 - 08:00

Hi Valerio,

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

regards
Seán

Submitted by valerioneri.de on Mon, 09/19/2016 - 08:09

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

Submitted by Sean McP on Mon, 09/19/2016 - 08:12

OK Thanks,

BR

1
+1
-1

Comments

Submitted by stationfile on Wed, 09/18/2019 - 06:45

If you need help contact me stationfile@gmail.com

Submitted by anil_kumar.tumm... on Wed, 09/18/2019 - 06:48

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.

1
0
-1

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

1
0
-1

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

Comments

Submitted by anil_kumar.tumm... on Mon, 07/22/2019 - 08:22

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

1
0
-1

Hi Valerio,

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

Bueno.

Comments

Submitted by valerioneri.de on Thu, 01/26/2017 - 23:01

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

Notifications