seclore-java-sdk/examples/Java/5. Seclore Online Integrati.../Sample App/docs/Developer Reference.txt

9 lines
1.1 KiB
Plaintext

=============================================
Seclore Online Integration App - ver 3.0.0.0
=============================================
1. During tomcat Server startup, the 'ServletContextListenerImpl.java' listener class gets called first which performs initialization. It initializes the Logger util, reads and validates the '/config/AppConfig.properties' file and cleans the temporary file directory.
2. The first servlet to be called when the application url is hit in browser is 'PreViewFileOnlineServlet.java'. This servlet redirects to '/WEB-INF/pages/viewFileOnline.jsp' which is the home page of this sample application.
3. On uploading file on this application and clicking any of the 3 buttons, the servlet 'OpenFileServlet.java' is called. This servlet will write the file on a temporary location, perform Pre-flight with Seclore Online and open the file in one of the 3 modes specified.
4. Seclore Online will call the Integration App's Endpoints which can be found in 'SecloreOnlineAPIEndpoints.java' and 'RenewAccessTokenController.java'.
5. For every request from Seclore Online, the authentication is performed in 'AuthorizationFilter.java'.