Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-2261

Allow the baseUri of the RO viewer to be overridden

    XMLWordPrintableJSON

    Details

      Description

      When running a webapp with a reverse proxy, where the reverse proxy does the https:// thing but the webapp itself only runs on http://, then the baseUri that the RO viewer infers from the injected UriInfo (in ResourceAbstract) will have the incorrect baseUri.

      public class ResourceAbstract {
      
          @javax.ws.rs.core.Context UriInfo uriInfo; 
          ...
      }

      There doesn't seem to be anyway to tell JAXRS that the webapp is running behind a reverse proxy, so i think that we'll need to provide some sort of config parameter to allow the baseUri (scheme, hostname and port) to be overridden if required.

        Attachments

          Activity

            People

            • Assignee:
              danhaywood Daniel Keir Haywood
              Reporter:
              danhaywood Daniel Keir Haywood
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: