Skip to main content
WebAdmin supports two deployment models: embedded in your Spring Boot application via the starter, or as a prebuilt WAR for traditional servlet containers.

Spring Boot application (JAR)

Add the starter to your own Spring Boot application, then build and run your application as usual:
WebAdmin is served at http://localhost:8080/webadmin (or your configured base-path). In this model a single application contains both the WebAdmin UI and the engine REST endpoints at /engine-rest, and WebAdmin’s login protects both.

WAR for Tomcat / WildFly

For traditional servlet containers, download the prebuilt aseeflow-webadmin-war from the ASEE Flow WebAdmin customer repository — you do not build it from source. Once you have access (see Accessing artifacts), download the .war:
Since 1.0.2, WebAdmin has the same version number as the platform it belongs to. The WAR filename determines the context path, so rename it before deploying (webadmin.war → /webadmin) and drop it into your container’s deploy directory (Tomcat webapps/, WildFly standalone/deployments/). The Tomcat and WildFly distributions already contain it, deployed as webadmin.

Configuration shipped in the WAR

The WAR ships with these defaults, suited to running on a server that provides the process engine:
Why these differ from a Spring Boot app:

Overriding the configuration

Because you don’t rebuild the WAR, override these aseeflow.webadmin.* properties from outside the artifact using any standard Spring Boot mechanism — there are no profiles to switch, only properties to set:
  • Environment variables (relaxed binding — uppercase, dots/dashes become underscores):
  • JVM system properties, e.g. in Tomcat’s setenv.sh or WildFly’s standalone.conf:
  • An external application.yml, in a directory you give with a JVM system property:
    The trailing / marks a directory, and the file in it must be named application.yml. Production hardening uses this for WebAdmin’s single sign-on settings.

Two REST APIs on Tomcat and WildFly

A traditional deployment has two applications that serve the engine REST API. Both act on the server’s one process engine: WebAdmin serves its REST API under its own context path — /webadmin/engine-rest when the WAR is deployed as webadmin — and its UI calls only that. One login covers the UI and its data: a signed-in user’s session authorizes the UI’s REST calls, and that user’s own authorizations apply. An anonymous request to /webadmin/engine-rest is answered with 401. The Engine REST WAR at /engine-rest is the API for your own programs. In the Tomcat and WildFly distributions it ships with its authentication filter commented out, so as shipped anyone who can reach the server can use it, whatever WebAdmin’s login mode is. Production hardening shows how to protect it. WebAdmin doesn’t depend on how you protect it, so you choose WebAdmin’s login mode and the Engine REST WAR’s protection independently. The WAR doesn’t support keycloak mode — it needs the Keycloak identity plugin, which the WAR doesn’t include — so use oauth2 with Keycloak too.

One engine per WebAdmin

A server can run more than one process engine. A WebAdmin WAR is bound to one of them, default unless aseeflow.webadmin.process-engine-name names another. Its users sign in to that engine, and only that engine knows who is signed in and checks their authorizations and tenants. So since 2.1.0, WebAdmin’s REST API answers 404 for the other engines:
  • /webadmin/engine-rest/engine/<name>/..., when <name> is not the bound engine;
  • the plain routes, such as /webadmin/engine-rest/task, when the bound engine is not default.
/webadmin/engine-rest/version and the list of engine names, /webadmin/engine-rest/engine, belong to no engine and still answer. To work with another engine, deploy another WebAdmin WAR bound to it, under its own context path. Give each WebAdmin on the host its own session cookie name, server.servlet.session.cookie.name.

JAR vs. WAR at a glance