Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-43605

Reduce amount of resources checked by servlet from jira-baseurl-plugin

XMLWordPrintable

      NOTE: This bug report is for JIRA Cloud. Using JIRA Server? See the corresponding bug report.

      The jira-baseurl-plugin add it's own servlet to include some resources need to display popup "You are accessing JIRA from different url than your configured base URL". In order to do so it needs to check is user have system_admin permissions and if there is a mismatch between accessing url and configured URL. Problem is that this servlet runs for every request, including requests for resources which dramatically increase amount of global permissions checking.

      Servlet configuration:

      <servlet-filter key="baseurl-filter" class="com.atlassian.jira.baseurl.IncludeResourcesFilter" name="Base URL plugin filter" location="before-dispatch" weight="200"><url-pattern>/*</url-pattern><dispatcher>REQUEST</dispatcher><dispatcher>FORWARD</dispatcher></servlet-filter>
      

            aglowacki Arkadiusz Glowacki (Inactive)
            aglowacki Arkadiusz Glowacki (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: