MOCCA Online Web Flow
The figure below shows the MOCCA Online web flow.
- The browser submits a Security Layer request via POST or GET to the URL ./http-security-layer-request or ./https-security-layer-request.
- The WebRequestHandler receives the Security Layer request and returns HTTP code 302 (temporary redirect) with Location = ./ui.
- The browser performs a GET request to the returned location (./ui).
- The UIServlet receives the request and internally forwards it to the user interface page (e.g. applet.jsp).
- The user interface page generates the HTML and returns the response to the UIServlet.
- The UIServlet returns the response to the browser.
- The browser displays the user interface page and invokes the included Applet.
- The Applet contacts the STAL web service handles any requests received and
- returns the result to the STAL web service.
- When the Applet receives a request to quit, it directs the browser to open the URL ./result.
- The browser finally requests the result of the Security Layer request.
