Add servlet configuration to web.xml for welcome app

XMLWordPrintable

    • Type: Task
    • Resolution: Fixed
    • Priority: L3 - Default
    • 7.6.0, 7.6.0-alpha6
    • Affects Version/s: None
    • Component/s: engine, webapp
    • None

      The following servlet configuration

      <servlet>
        <servlet-name>Welcome Api</servlet-name>
        <servlet-class&gt;org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher</servlet-class&gt;
        <init-param>
          <param-name>javax.ws.rs.Application</param-name>
          <param-value>org.camunda.bpm.welcome.impl.web.WelcomeApplication</param-value>
        </init-param>
        <init-param>
          <param-name>resteasy.servlet.mapping.prefix</param-name>
          <param-value>/api/welcome</param-value>
          </init-param>
      </servlet>
      <servlet-mapping>
        <servlet-name>Welcome Api</servlet-name>
        <url-pattern>/api/welcome/*</url-pattern>
      </servlet-mapping>
      

      must be added to the following web.xml

      Furthermore, the security filter rules [1] must be adjusted accordingly.

      [1]: https://github.com/camunda/camunda-bpm-webapp/blob/master/src/main/webapp/WEB-INF/securityFilterRules.json

            Assignee:
            Roman Smirnov
            Reporter:
            Roman Smirnov
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: