LDAP
In order to setup LDAP for the Tomcat distribution, you have to perform the following steps:Add the LDAP Library
Make sure thecamunda-identity-ldap-$PLATFORM_VERSION.jar is present in the
$TOMCAT_DISTRIBUTION/lib/ folder.
Pre packaged distributionNote: If you use the pre-packaged distribution, the ldap plugin is already present and you can skip this step.
Adjust the Process Engine Configuration
Edit the filebpm-platform.xml located inside the folder $TOMCAT_HOME/conf 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 Indentity Provider, you should consider activating caching of Users and Groups in the ASEE Flow webapplication. In order to activate this, add the following configuration to theweb.xml file of ASEE Flow webapplication
(camunda-webapp-tomcat-$PLATFORM_VERSION.war/WEB-INF/web.xml):
Session Cookie in Webapps
To configure the Session Cookie, you can adjust the deployment descriptor of the Web applications. You can find it in theWEB-INF/web.xml in the following section:
web.xml) version set to 3.0.
To customize the SameSite attribute of the session cookie, you can adjust the SessionCookieFilter.
You can find it in the WEB-INF/web.xml as well in the following section:
SameSite flag will be set to LAX by the filter.
You can change the default behavior by adding configuration parameters to the servlet filter configuration:
SameSite attribute to the cookie if this attribute is not present yet.
It does not alter any existing value that has been set prior to the filter execution.
The servlet filter accepts several initialization parameters besides the one describes above.
The following list describes all possible parameters you can use for the filter configuration:
| Name | Description | Default value |
|---|---|---|
| enableSecureCookie | If set to true, the cookie flag Secure is enabled for the Session Cookie.Note: If the Secure flag is set in the cookie by any other means already, this property will not remove it by setting it to false. | false |
| enableSameSiteCookie | If set to false, the cookie flag SameSite is disabled. The default value of the SameSite cookie is LAX and it can be changed via same-site-cookie-option configuration property.Note: If the SameSite flag is set in the cookie by any other means already, this property will not adjust or remove it. | true |
| sameSiteCookieOption | Can be configured either to STRICT or LAX.Note:
| Not set |
| sameSiteCookieValue | A custom value for the cookie property. Note:
| Not set |
| cookieName | A custom value to configure the name of the session cookie to adjust. | JSESSIONID |
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: