Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-42132

iFrame portlet authentication is not working

    Details

      Description

      Reproduced on master: f2c637f04d161786affd722c05d2807b90e42250
      Reproduced on branch: 0a9eaa3bf46f0b30f80b0e755bff86f3e12d0890

      Prior to testing I installed Jaspersoft software.

      This can probably be done using another liferay instance, however, I did not know the correct information for input.

      Steps to reproduce:
      1) Download and install Jaspersoft
      http://www.jaspersoft.com/jaspersoft-business-intelligence-software-trial

      Jaspersoft will open a new window in the browser at:
      http://localhost:8080/jasperserver-pro/login.html

      2) Start Liferay a port different from 8080.
      3) Create new user with screen name: demo and password: test
      4) Give this user admin role
      5) Sign in with this user and when prompted change pw to demo.
      Password must be demo for this test

      6) Add Liferay's iFrame Portlet to a page.
      7) Go to configuration
      8) Provide Source URL:
      http://localhost:8080/jasperserver-pro/j_spring_security_check

      9) Check Authenticate check box
      10) Select 'Authentication Type' as 'Form'
      11) Select 'Form Method' as 'Post'
      12) For User enter the following:
      Field Name: j_username
      Value: @screen_name@
      13) Under Password enter the following:
      Field Name: j_password
      Value: @password@
      14) Under hidden variable enter: orgID=UP0001;
      15) Click Save

      This should sign you into the Jaspersoft application in the iFrame with credentials demo/demo.

      However it does not.

      16) Go back into configuration.
      17) For the value of password, change this to "demo" instead of @password@.
      18. Click Save

      You are now signed in to the jaspersoft app.

      Results:
      @screen_name@ is being recognized, but @password@ is not.

        Attachments

          Activity

            People

            • Assignee:
              bryan.engler Bryan Engler
              Reporter:
              jeffrey.tuason Jeffrey Tuason (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 5 weeks, 1 day ago

                Packages

                Version Package
                6.1.20 EE GA2