Skip to main content
Basic authentication uses Spring Security’s HTTP Basic mechanism with a custom provider that validates credentials against the ASEE Flow engine’s Identity Service. It is the default mode.

Dependency

This dependency is provided in the starter, so include it explicitly.

Configuration

How it works

The browser prompts for a username and password with the standard HTTP Basic dialog. Credentials are validated against the engine’s IdentityService. By default both the WebAdmin UI and the REST API (/engine-rest/**) require authentication; unauthenticated REST requests receive 401 Unauthorized. Set disable-rest-security: true to require authentication for the UI only — this leaves the REST API open, so do it only when REST is secured elsewhere (consequences). On logout, the user is redirected to /webadmin/logoutRedirect and then back to /webadmin/, where the browser prompts for credentials again.

When to use it

Basic authentication suits development and testing, internal applications with simple needs, and API clients or automated tools.

Properties