New Cockpit
The Enterprise Edition ships a new Cockpit alongside the existing Cockpit, Tasklist, Admin and Welcome applications. It starts with the web applications; it needs no separate web server, Node.js runtime or extra deployment.
| Application | Default address |
|---|---|
| New Cockpit | /eximeebpms/cockpit/ |
| Existing Cockpit | /eximeebpms/app/cockpit/ |
| Tasklist, Admin and Welcome | Their existing addresses |
The existing applications, their addresses and the redirect from /eximeebpms/ are unchanged. With a different context path or application path, the new Cockpit follows it, for example /tenant/custom/cockpit/.
Login, Session and Permissions
Both Cockpits use the same web application API, login session and CSRF protection. A user who may open the existing Cockpit may open the new one; there is no separate permission. Logging in or out in one of them does the same in the other. Every operation is still authorized by the engine.
In Spring Boot applications using OAuth2, signing in from the new Cockpit returns to its root, /eximeebpms/cockpit/ by default. The return address follows the configured context and application path.
Configuration
Without configuration the new Cockpit uses the process engine of the web applications, the API under the same address and a local login form. Spring Boot applications, including Run, use the configured process engine name. When their Spring Security OAuth2 integration is active (in Run, started with --oauth2), the login page instead offers sign-in through each client registration that logs users in through the browser (authorization_code).
To change this, point the property eximeebpms.bpm.webapp.cockpit.config-file at a UTF-8 JSON file:
{
"engineName": "default",
"bpmsApiUrl": "/eximeebpms/api",
"auth": {
"methods": [
{ "type": "sso", "label": "Company", "loginUrl": "/eximeebpms/cockpit/sso/company", "logoutUrl": "/logout" }
]
}
}
| Field | Meaning |
|---|---|
engineName | Process engine the Cockpit works with. If omitted from the file: the configured engine in Spring Boot, or default in Tomcat and WildFly. An explicit value overrides that default. |
bpmsApiUrl | Web application API root, a path on the same server starting with /. Default: the API of the same web application. |
auth.methods | Login methods offered, in order: local, or sso with label, loginUrl and logoutUrl. |
The browser receives only these fields; do not put passwords or client secrets into the file. Unknown fields are ignored and reported by name in a warning, with their values omitted. Omitting engineName keeps the server’s default, including the configured engine in Spring Boot. Set the property as a JVM system property (-Deximeebpms.bpm.webapp.cockpit.config-file=...); Spring Boot applications also accept it as any other Spring property, for example in Run’s default.yml. In a WAR deployment, the servlet init parameter configurationFile of the Embedded Cockpit servlet takes precedence over the property.
The file is read when the web application starts. An invalid file stops Run and other Spring Boot applications from starting. In Tomcat and WildFly the server log reports it and the other applications keep running. While the file stays invalid, each request to the new Cockpit fails and is logged again; once you fix the file, the next request succeeds without a restart. The message names the file and the failing rule, never the file’s contents.
For local authentication, use "methods": [{ "type": "local" }]. The methods offered by the UI must match the authentication mode configured on the server. In Spring Boot, the generated SSO links use /cockpit/sso/{registrationId} below the context and application path. This protected handoff selects the provider and preserves the return address; explicit configuration files can use the same link, as in the example for registration company. A custom registration repository that cannot enumerate providers needs explicit method configuration; automatic discovery emits a warning.
An sso method only links to a login the server already provides. In Tomcat and WildFly it does not add single sign-on; configure that in the container.
Security Headers
The new Cockpit sends its own security headers: a Content Security Policy that allows only resources from the same server, X-Content-Type-Options: nosniff, X-Frame-Options: DENY and Referrer-Policy: strict-origin-when-cross-origin. They replace the Content Security Policy and frame options configured for the other web applications. In Spring Boot applications, including Run, none of the eximeebpms.bpm.webapp.header-security settings apply to the new Cockpit, HSTS included; in Tomcat and WildFly the other configured headers, such as HSTS, still apply.
I/O failures while serving the new Cockpit are logged on the server. If the response has not started, the server returns an empty, non-cacheable HTTP 500 response. It does not append diagnostic details to a response that has already started.
Spring Boot Embedding
The new Cockpit is enabled by default. Set eximeebpms.bpm.webapp.cockpit.enabled=false
to disable it while retaining the existing web applications. An embedded application
can replace the default registration by providing a bean named embeddedCockpitServlet.
An application bean implementing EmbeddedCockpitAuthMethods replaces automatic
login-method discovery when no configuration file is set.
Direct Links
The serving layer handles HTML navigation without a backend list of frontend routes. Missing files at the web root, packaged asset directories and API paths retain their error responses. Nested route identifiers can contain dots.
