Details

    • Branch Version/s:
      6.1.x, 6.0.x
    • Backported to Branch:
      Committed
    • Story Points:
      8
    • Similar Issues:
      Show 5 results 

      Description

      When user visits portal for the first time he has no cookies. Page contains form with action which points to this address:
      http://portal.xyz.com/home;jsessionid=9753D48D80F404FC20139B21C1B3ED39?p_auth=rvlO1kbY...
      Unfortunately this address is not recognized by server, returns 404
      The same address without ;sessionid= works OK.

      So when user enter login data for the first time, browser gets 404 error page with automatic redirection to address /c. Now user see login page again (form action is without ;jsessionid=) and now has to enter login data again and it works.

        Activity

        Hide
        Juraj Lonc added a comment -

        In addidion:
        when user disables cookie support (;jsessionid= is appended to every local url) is unable to use portal.
        after user's login try is browser in endless loop of redirections:

        /home;jsessionid=26081D618B690ADC6919E800FF5E41AD (server's response is 404)
        /c;jsessionid=26081D618B690ADC6919E800FF5E41AD (this is redirection on 404 error page)
        /home;jsessionid=26081D618B690ADC6919E800FF5E41AD
        /c;jsessionid=26081D618B690ADC6919E800FF5E41AD
        /home;jsessionid=26081D618B690ADC6919E800FF5E41AD
        /c;jsessionid=26081D618B690ADC6919E800FF5E41AD
        and so on...

        Show
        Juraj Lonc added a comment - In addidion: when user disables cookie support (;jsessionid= is appended to every local url) is unable to use portal. after user's login try is browser in endless loop of redirections: /home;jsessionid=26081D618B690ADC6919E800FF5E41AD (server's response is 404) /c;jsessionid=26081D618B690ADC6919E800FF5E41AD (this is redirection on 404 error page) /home;jsessionid=26081D618B690ADC6919E800FF5E41AD /c;jsessionid=26081D618B690ADC6919E800FF5E41AD /home;jsessionid=26081D618B690ADC6919E800FF5E41AD /c;jsessionid=26081D618B690ADC6919E800FF5E41AD and so on...
        Hide
        Marc Champion added a comment -

        A workaround for the double logon problem is to set

        session.enable.url.with.session.id=false

        but then obviously the portal cannot be used when cookies are disabled in the browser.

        Show
        Marc Champion added a comment - A workaround for the double logon problem is to set session.enable.url.with.session.id=false but then obviously the portal cannot be used when cookies are disabled in the browser.
        Hide
        Tammy Fong added a comment -

        Committed on:
        Portal 6.2.x GIT ID: 7944b359bb4cd3689d3eae414e42b1e3cbc11eba.

        Show
        Tammy Fong added a comment - Committed on: Portal 6.2.x GIT ID: 7944b359bb4cd3689d3eae414e42b1e3cbc11eba.
        Hide
        Mark Jin added a comment -

        PASSED Manual Testing using the following steps:

        1. Start tomcat with clean database.
        2. Deploy CAS-WEB.
        3. Go to Control Panel/Portal Settings/Authentication/CAS.
        4. Check enable checkbox.
        5. Login URL: http://localhost:8080/cas-web/login
        6. Logout URL: http://localhost:8080/cas-web/logout
        7. Server Name: localhost:8080
        8. Server URL: http://localhost:8080/cas-web
        9. Service URL: none
        10. No Such User Redirect URL: http://localhost:8080
        11. Save.
        12. Go to General select By Screen Name.
        13. Save.
        14. Sign Out.
        15. Go to http://localhost:8080.
        16. Click Sign In link.
        17. Fill username and password.
        18. Sign in.

        Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: c4da439b2c519ef20dacf2f09785689bdf1c5e34.
        Plugins 6.1.x EE GIT ID: 7ac919b8f9a2ea7107e64789f7d03b3173c26abd.
        Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 721066851dc8736c9da418e9d99ac2e101e52b59.
        Plugins 6.2.x EE GIT ID: 2a43d2c76cce6e39106e6bd27cb14916c98e65eb.

        Users able to login portal.

        Show
        Mark Jin added a comment - PASSED Manual Testing using the following steps: Start tomcat with clean database. Deploy CAS-WEB. Go to Control Panel/Portal Settings/Authentication/CAS. Check enable checkbox. Login URL: http://localhost:8080/cas-web/login Logout URL: http://localhost:8080/cas-web/logout Server Name: localhost:8080 Server URL: http://localhost:8080/cas-web Service URL: none No Such User Redirect URL: http://localhost:8080 Save. Go to General select By Screen Name. Save. Sign Out. Go to http://localhost:8080 . Click Sign In link. Fill username and password. Sign in. Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: c4da439b2c519ef20dacf2f09785689bdf1c5e34. Plugins 6.1.x EE GIT ID: 7ac919b8f9a2ea7107e64789f7d03b3173c26abd. Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 721066851dc8736c9da418e9d99ac2e101e52b59. Plugins 6.2.x EE GIT ID: 2a43d2c76cce6e39106e6bd27cb14916c98e65eb. Users able to login portal.
        Hide
        Mark Jin added a comment -

        PASSED Manual Testing following the steps in the description.

        Fixed on:
        Tomcat 6.0.33 + MySQL 5.5.21. Portal 6.0.x GIT ID: 22f6b76c0e7bbac845d24240d520cd18f2022a76.
        Plugins 6.0.x GIT ID: 9f3f70597c938d9cb292d6ef90e275cae7650e81.

        Users able to login portal.

        Show
        Mark Jin added a comment - PASSED Manual Testing following the steps in the description. Fixed on: Tomcat 6.0.33 + MySQL 5.5.21. Portal 6.0.x GIT ID: 22f6b76c0e7bbac845d24240d520cd18f2022a76. Plugins 6.0.x GIT ID: 9f3f70597c938d9cb292d6ef90e275cae7650e81. Users able to login portal.

          People

          • Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 11 weeks, 3 days ago

              Development

                Structure Helper Panel