Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-7866

Deprecate Server#isSecured()

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.6.1, 6.0
    • Component/s: Plugin API
    • Labels:

      Description

      In order to detect if SonarQube run over HTTPS, we should not check for 'https' in property 'sonar.core.serverBaseURL', but we should detect that the HTTP header 'X_FORWARDED_PROTO' is set to 'https', as described in the documentation : http://docs.sonarqube.org/display/SONAR/Securing+the+Server+Behind+a+Proxy.

      Server#isSecured() should be deprecated as it's using 'sonar.core.serverBaseURL'.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              julien.lancelot Julien Lancelot
              Reporter:
              julien.lancelot Julien Lancelot
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: