Uploaded image for project: 'Pluto'
  1. Pluto
  2. PLUTO-82

PortalURL tied to single host specified in properties

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.1-rc3
    • portal driver
    • None

    Description

      From the dev list:

      Attached is a patch contribution against 1.0.1-rc1 which modifies PortalURL so that is it not tied to the single host specified in a properties file.

      Previously it constructed URLs based on the host.name property and the context root of the portal. However, if the user forgot to change the name from localhost or if the server supported multiple vhosts, then the URLs generated would be incorrect.

      Instead, this patch maps the portal servlet twice, once with a security constraint, once without. The implementation of PortalURL then generates the URL with the appropriate mapping for secure or insecure mode but without specification of host, credential or port number parts (e.g. "/pluto/portal/...")

      Attachments

        1. web.xml
          3 kB
          Jeremy Boynes
        2. portalurl.patch
          4 kB
          Jeremy Boynes

        Activity

          People

            Unassigned Unassigned
            jboynes Jeremy Boynes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: