Class EngineRestApplication
The SPA previously talked to the standalone /engine-rest deployment,
which authenticates each request on its own and therefore forced the client to
keep credentials around to re-send. Mounted here at
{applicationPath}/api/engine/* the same requests are authenticated by the
webapp session instead, and pass through the CSRF and header-security filters on
the way.
Registers the named engine service, so resources live under
/api/engine/engine/{engine}/.... That is the layout
securityFilterRules.json is written against — it denies
/api/engine/.* wholesale and re-allows only
/api/engine/engine/{engine}/.* through
EngineRequestAuthorizer — so the alternative, mounting the default
engine service at the root of this application, would be denied by the rules
that protect it.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class jakarta.ws.rs.core.Application
getProperties, getSingletons
-
Constructor Details
-
EngineRestApplication
public EngineRestApplication()
-
-
Method Details
-
getClasses
- Overrides:
getClassesin classjakarta.ws.rs.core.Application
-