...
- The main portlet controller loops through each GatewayEntry associated with the portlet.
- Each GatewayEntry runs through each Interceptor associated with it to ensure that the entry is valid and then calls the main JSP to render.
- Each GatewayEntry is rendered on the page, displaying the name, icon and if valid a link to the external system. Invalid external systems display a message about the issue.
- The user then clicks on the link for the external system they wish to access. This makes an Ajax call to the handling controller.
- The handling controller gathers all of the form information stored in the HttpContentRequestImpl parameters configuration and readies it for return to the calling JSP
- All configured Interceptors perform any substitutions on configuration data
- The All configured external logic adds any additional required information or performs any other setup required.modules run. This adds additional parameter fields to the result and may perform additional configuration (depending upon the implementation.)
- The controller returns all of the gathered data to the calling JSP.
- The JSP Ajax handler builds an appropriate form and submits it to the external system. The external system then handles the call and will render whatever page a successful login would render.
...