Jaas module to query the Bonita User Database, and return true if the login / password exist. This JAAS module is perfect if you want to use multiple JAAS module, and say "in Bonita OR in my LDAP"
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src First version in the community Feb 1, 2018
README.md Add an example Feb 1, 2018
jaas-standard.cfg Add an example Feb 1, 2018
pom.xml

README.md

JaasBonitaLogin

Jaas module to query the Bonita User Database, and return true if the login / password exist. This JAAS module is perfect if you want to use multiple JAAS module, and say "in Bonita OR in my LDAP"

1/ installation Copy the jar file in /webapps/bonita/WEB_INF/lib (or for another web server, where the bonita jar file are)

2/ JAAS file

Add this module in the JAAS.cfg file:

BonitaAuthentication-1 { com.bonitasoft.jaaslogin.JaasBonitaLogin SUFFICIENT tenantid="1"; };

Example:

BonitaAuthentication-1 {

com.sun.security.auth.module.LdapLoginModule sufficient userProvider="ldap://ldap.forumsys.com:389/cn=read-only-admin,dc=example,dc=com" authIdentity="cn=read-only-admin,dc=example,dc=com" debug=true useSSL=false;

// if the user does not exist in the LDAP, use the BonitaJaas
com.bonitasoft.jaaslogin.JaasBonitaLogin sufficient
	tenantid="1";

};