PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-34027

Deep URLs / SAML / Login process doesn't work the first time user enters url

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Fix Priority:
      4
    • Similar Issues:
      Show 5 results 

      Description

      Guide to set up SAML with 2 Liferay instances:
      http://skzine.net/info/index.php?option=com_content&view=article&id=76:saml-configuration-in-liferay&catid=64:liferay-installation-a-configuration&Itemid=41

      1. Set up a Idp Liferay and an SP Liferay to test SAML login using the attached files:

      • server.xml to change ports to 8383 (IdP) and 8484 (SP)
      • portal-ext.properties to set up the SAML
      • put the keystore.jks files to the data folder
      • deploy the Saml Portlet Plugin
        2. Create a testpage in SP Liferay and set permissions that a guest user doesn't have view permission.
        3. Open up a new browser clear cache and cookies
        4. Go to the not viewable page you set up already on the SP Liferay: http://localhost:8484/web/guest/page-without-view
        5. Liferay doesn't redirect the user to the Idp Liferay for login.

      +1. The process works if user already was browsing on the site, or comes back again.

      6.1.x is affected
      Trunk and (liferay-plugins-ee/ee-6.2.x): cannot test it because I had exceptions using the Saml Portlet

        Issue Links

          Activity

          Hide
          Justin Choi added a comment -

          PASSED Manual Testing following the steps in the description.

          • To clarify step 4, executed IdP initiated SSO onto the SP page /web/guest/ {page}

          Fixed on:
          Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: f7b7e785d16c8c3c79a7f9e0fe65a4c1c13b9ced. Plugins 6.1.x EE GIT ID: 05102a8937d1f84c4fb871e0b67916e93a47f236.
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 1da85b23e9b00a2a7c906468932734e7ee01e26e. Plugins 6.2.x EE GIT ID: de2421e54d7751855eabea5164a651b20f0a97be.

          • User is able to hit the page without guest view permissions which forces a redirect to the IdP SSO sign in page.
          Show
          Justin Choi added a comment - PASSED Manual Testing following the steps in the description. To clarify step 4, executed IdP initiated SSO onto the SP page /web/guest/ {page} Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: f7b7e785d16c8c3c79a7f9e0fe65a4c1c13b9ced. Plugins 6.1.x EE GIT ID: 05102a8937d1f84c4fb871e0b67916e93a47f236. Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 1da85b23e9b00a2a7c906468932734e7ee01e26e. Plugins 6.2.x EE GIT ID: de2421e54d7751855eabea5164a651b20f0a97be. User is able to hit the page without guest view permissions which forces a redirect to the IdP SSO sign in page.

            People

            • Assignee:
              Justin Choi
              Reporter:
              Zsolt Szabo
              Recent user:
              Esther Sanz
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 47 weeks, 2 days ago

                Development

                  Structure Helper Panel