Uploaded image for project: 'GateIn Portal'
  1. GateIn Portal
  2. GTNPORTAL-2317

InitiateLoginServlet uses wrong Instance of WCIController

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Duplicate Issue
    • Affects Version/s: 3.2.0-Beta01
    • Fix Version/s: 3.2.0-CR01
    • Component/s: None
    • Labels:
      None

      Description

      Situation:

      • I have set up a new portal container.
      • I want to customize the login page, so I make changes to /login/jsp/login.jsp in my portal WAR
      • I access a private page, e.g. /myportal/private/classic

      Problem:

      • I get the login.jsp from the default portal container (/portal), not my customized version.

      I can get my customized login.jsp to show up when I enter a wrong username/password. This is because in the ErrorLoginServlet, a new GateinWCIController is created with the current ServletContext, so it uses my custom JSP.

      On the other hand, the InitiateLoginServlet does not create a new GateinWCIController instance, but re-uses a previously created one, which is the wrong one (using the default PortalContainer).

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mposolda Marek Posolda
                  Reporter:
                  sseidel Stefan Seidel
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: