Is Can Bonita 7.5 Community integrated with Cas SSO and LDap

Hello, i’m new Bonita.
Currently, I develop web app Spring boot with Bonita use Bonita Engine (Java), i run Bonita tomcat bundle server with mysql. Function Login in Web work as well, so i want integrated SSO Cas and list organization from Ldap.
Question: Is Bonita 7.5 Community can integrate with Cas for Login and get List Orgnazation with Ldap for external Project Spring Boot?
I research from here:
https://documentation.bonitasoft.com/bonita/7.5/log-in-with-cas
https://github.com/bonitasoft/bonita-engine/blob/master/services/bonita-authentication/src/main/java/org/bonitasoft/engine/authentication/AuthenticationConstants.java
But this code is not clear, i dont understand with config for Project Spring boot.
And with Cas and Ldap we config in Bonita tomcat bundle or can config in code with java?

Thanks

1 Like

Hi,

As highlighted in the node at the top of the documentation page CAS is only supported in the Enterprise Edition of Bonita. Same apply to the LDAP authentication support.

Hi
Yes, it’s possible. we can Bonita Community integrated with Cas SSO and LDap.
You can see step of it in the link:
https://github.com/sparse91/bonita-community-cas

Good luck

Thanks for answer, is there other way using organization for own company not using ldap?

If you have an existing user database that is stored in a different solution then LDAP / Active Directory a custom development can be done to pull the user data from your system and push them in Bonita using Bonita Engine API, more precisely Bonita Identity API.

Hi, can you explain detail morever how I doing with Identity API for ldap. Currently, i just use Identity for create new user and store it dbs.

Hi, as authentication using CAS or LDAP is a feature of the Enterprise Edition I’ll not get in to more details about how to implement it with the Community Edition, sorry.

Hi, Is you try it?, I have tried and I got error loginservice. This message is error not create bean " loginservice" from engine API.

Yes, it’s works for us.
Some changes added to github learning. (step 5 is new!)

Hi, Thanks for new step, i already successed with cas and have ticket for user my ldap. So my question is how to access ldap for community version like this cas. Can you help me.

If you have email for contract, we’ll help morever for my Project graduate University.

Thanks.

It works beautifully. However, I didn't see how to automatically direct the login to <url>/bonita/cas instead of <url>/bonita/login.jsp when the user enters the environment. What is the best alternative for this?

Hi Antonio, I don't direct to /bonita/cas automatically. I added new input for cas login in bottom of main login input. It was best way for our project and other user that doesn't exist in cas, can login.