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

Portlet Web Services Listing page redirects improperly to non-secure URL when accessing Json via https

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.1.20 EE GA2
    • Fix Version/s: 6.1.X EE
    • Component/s: Web Services
    • Environment:
      LIFERAY VERSION: 6.1 GA2
      OPERATING SYSTEM: Other Linux Distribution
      APPLICATION SERVER: Tomcat 7.0
      JAVA VIRTUAL MACHINE: Java 6
      DATABASE: Oracle 11.1

      Description

      Description

      When accessing Json webservices via SSL configuration with Apache Web Server, the portal incorrectly redirects and exhibits an exception.

      Steps to Reproduce/Testing Done

      1. Set up an Apache Web Server to forward requests to Liferay running in a Tomcat container.
      2. Configure HTTPS for the Apache web server.
      3. Create a Service Builder Portlet plugin with remote methods
      4. Deploy the Portlet and attempt to view the services listing page at: https://liferay-host/portlet-context/api/secure/jsonws

      5. Observe a redirect to https://liferay-host/portlet-context/api/jsonws, and the accompanying error.

      Impact:
      the webservice listing page for plugins is unusable in HTTPS.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mark.jin Mark Jin (Inactive)
                Reporter:
                ira.chui Ira Chui
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  6.1.X EE