Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-25585

pda fragment appended to loggedOutUrl for PDA CAS logout

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: RESOLVED
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.9.3
    • Fix Version/s: None
    • Component/s: Login, Portal
    • Labels:
      None

      Description

      We have loggedOutUrl defined in sakai.properties for CAS logout, e.g.

      loggedOutUrl.staff=https://login.uct.ac.za/cas/logout
      loggedOutUrl.student=https://login.uct.ac.za/cas/logout
      loggedOutUrl.thirdparty=https://login.uct.ac.za/cas/logout

      However, when users click Logout from the PDA portal, they are instead redirected to:

      https://login.uct.ac.za/cas/logout/pda

      As login.uct.ac.za is not a Sakai URL, it's inappropriate to append pda. In our case it causes a 404 error from the CAS site (login.uct.ac.za).

      Relevant code is in portal,

      portal-impl/impl/src/java/org/sakaiproject/portal/charon/handlers/PDAHandler.java

      String forceLogout = req.getParameter(Portal.PARAM_FORCE_LOGOUT);
      if ("yes".equalsIgnoreCase(forceLogout)

      "true".equalsIgnoreCase(forceLogout)) { portal.doLogout(req, res, session, "/pda"); return END; }

      and doLogout() in portal-impl/impl/src/java/org/sakaiproject/portal/charon/SkinnableCharonPortal.java

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                smarquard Stephen Marquard
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration