A shared local server is a local server which is fully accessible from the host which has created it and which needs authentication from outside.
The local engine is shared through a Spring HTTP service and is secured using Spring Security.
It is deployed using a local embedded Jetty server.
Port and context path are read from preferences. They must be configurable by the user.
The web descriptor contains:
WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTEspringSecurityFilterChain filter that declares the DelegatingFilterProxy Spring filter, associated with the web application context which is published in WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE servlet context attribute.DispatcherServlet Spring dispatcher servlet, associated with the application context at sc/shared/SCDispatcherWeb.xmlThe web application context which is published by the embedded web application is a hierarchical chain of application contexts:
DispatcherServlet. It contains the export of the SharedEngine bean using a HttpInvokerServiceExporter on the /engine servlet path.SharedEngine as being wrapped by the EngineContainer factory and declaring the security constraintsEngineContainer bean that wraps the current SharedLocalEngine engine