Greetings everyone,
I have completed a project where I heavily customized the UCES application; HTML5, CSS3, backend customization for payements etc. However, there is one questions that I have and the answer has eluded me since I started working with UCES. It is not clear to me how the login page loginPage.jsp is called. When diving into the code, I can see that the servlet class SAPMLogonServlet dynamically renders the <form tags for j_security_check etc. But how is this class being called? When the submit button is clicked, which servlet is the form served to for authentification?
Another thing that has confused me is how does the logonPage.jsp get called if we are accessing the UCES application in the URL? The web.xml file has a url pattern for .sap so any calls ending in that will be picked up by the FrontController servlet. However, I have not seen any code in the FrontController servlet that leads me to believe that it is responsible for the redirect to the logonPage.jsp. Is there another servlet that is called before the FrontController that redirects the page but keeps the URL the same?
Located within the UCES directory is a jsp page content_login_html.jsp. It is not being used, but how could I bypass the call to logonPage.jsp and use content_login_html.jsp? For lack of a more elegant solution, I guess I could create another folder and drop all the files in there. That should bypass any servlet that is sniffing out my url call and serving the logonPage.jsp.
Thank you in advance for your answers.