Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-4452

OpenSocial not working with HTTPS

    XMLWordPrintable

    Details

      Description

      After trying to make OpenSocial dashboard work with my HTTPS Nuxeo server, found that HTTP mode is hard-coded in source code:
      nuxeo-features/nuxeo-opensocial/nuxeo-opensocial-container-space-config/src/main/java/org/nuxeo/opensocial/container/factory/utils/ServerBase.java:

      private static final String HTTP = "http://";

      nuxeo-features/nuxeo-opensocial/nuxeo-opensocial-dashboard/src/main/java/org/nuxeo/opensocial/dashboard/Dashboard.java:

      return "http://" + host + ":" + port + "/";

      nuxeo-features/nuxeo-opensocial/nuxeo-opensocial-gadgets-core/src/main/java/org/nuxeo/opensocial/gadgets/service/GadgetServiceImpl.java:

      private static final String HTTP = "http://";

      Should be easy to add this new parameters to handle that probem:

      gadgets.mode (http or https )
      lmportal.deploy.mode (http or https )

      (Or better : replace all gadgets.* stuff by gadgets.url, same for lmportal.deploy.* replaced by lmportal.deploy.url)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: