LDAP
In order to setup LDAP for the JBoss EAP/WildFly Application Server distribution, you have to perform the following steps:Adjust the Process Engine Configuration
Edit the filestandalone.xml (or domain.xml) provided by the JBoss EAP/WildFly Application Server and add the LDAP Identity Provider Plugin and the Administrator Authorization Plugin.
administratorUserName property should contain the user id of the LDAP user you want to grant administrator authorizations to. You can then use this user to log in to the web application and grant authorizations to additional users.
See our user guide for complete documentation on the LDAP Identity Provider Plugin and the Administrator Authorization Plugin.
HAL Resource Caching
If you use LDAP as Identity Provider, you should consider activating caching of Users and Groups in the ASEE Flow web application. In order to activate this, add the following configuration to theweb.xml file of the ASEE Flow web application
(camunda-webapp-wildfly-$PLATFORM_VERSION.war/WEB-INF/lib or camunda-webapp-jboss-$PLATFORM_VERSION.war/WEB-INF/lib):
Add Custom Engine Plugins
- Add an additional engine plugin as a module to the folder $WILDFLY_HOME/modules/
- Add the module dependency to the file
$WILDFLY_HOME/modules/org/camunda/bpm/camunda-engine-plugins/main/module.xmland set the attributeexport="true"to make sure that the module is visible in the classpath of ASEE Flow’s subsystem
- Configure the process engine plugin in the standalone.xml/domain.xml configuration file
Session Cookie in Webapps
The deployment descriptor of the Web applications needs to be adjusted to configure the Session Cookie. You can find it underWEB-INF/web.xml. Please watch out for the following section:
web.xml) version set to 3.0.
To adjust the SameSite flag of the session cookie, you can configure a SameSiteCookieHandler as described in related the WildFly documentation.
This can be used with WildFly versions >= 19.1.0.
Security-related HTTP headers in Webapps
To customize the configuration of security-related HTTP headers in the web applications its deployment descriptor needs to be adjusted. You can find it underWEB-INF/web.xml.
Please watch out for the following section: