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.
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.
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.
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).
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
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.
Bonitasoft empowers development teams with Bonita, the open-source and extensible platform to solve the most demanding process automation use cases. The Bonita platform accelerates delivery of complex applications with clear separation between capabilities for visual programming and for coding. Bonita integrates with existing solutions, orchestrates heterogeneous systems, and provides deep visibility into processes across the organization.