Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-791

WebSocket session invalidation fix not included in RHDM product builds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.2.0.GA
    • None
    • Decision Central
    • None
    • 2018 Week 45-47

      The web.xml introduction of the WebSocket Basic Auth Filter, which is the fix made in JBPM-7902, appears in Business Central nightly product builds, but not in Decision Central nightly product builds.

      RHPAM has this (correct):

        <filter>
          <filter-name>HTTP Basic Auth Filter</filter-name>
          <filter-class>org.uberfire.ext.security.server.BasicAuthSecurityFilter</filter-class>
          <init-param>
            <param-name>realmName</param-name>
            <param-value>KIE Workbench Realm</param-value>
          </init-param>
        </filter>
        <filter-mapping>
          <filter-name>HTTP Basic Auth Filter</filter-name>
          <url-pattern>/rest/*</url-pattern>
          <url-pattern>/maven2/*</url-pattern>
          <url-pattern>/ws/*</url-pattern>
        </filter-mapping>
        <filter>
          <filter-name>WebSocket Basic Auth Filter</filter-name>
          <filter-class>org.uberfire.ext.security.server.BasicAuthSecurityFilter</filter-class>
          <init-param>
            <param-name>realmName</param-name>
            <param-value>KIE Workbench Realm</param-value>
          </init-param>
          <init-param>
            <param-name>invalidate</param-name>
            <param-value>false</param-value>
          </init-param>
        </filter>
        <filter-mapping>
          <filter-name>WebSocket Basic Auth Filter</filter-name>
          <url-pattern>/websocket/*</url-pattern>
        </filter-mapping>
      

      RHDM still has this (incorrect):

        <filter>
          <filter-name>HTTP Basic Auth Filter</filter-name>
          <filter-class>org.uberfire.ext.security.server.BasicAuthSecurityFilter</filter-class>
          <init-param>
            <param-name>realmName</param-name>
            <param-value>KIE Workbench Realm</param-value>
          </init-param>
        </filter>
        <filter-mapping>
          <filter-name>HTTP Basic Auth Filter</filter-name>
          <url-pattern>/rest/*</url-pattern>
          <url-pattern>/maven2/*</url-pattern>
          <url-pattern>/websocket/*</url-pattern>
        </filter-mapping>
      

              cnicolai@redhat.com Cristiano Nicolai (Inactive)
              dward-se-jboss David Ward
              Juraj Soltes Juraj Soltes (Inactive)
              Juraj Soltes Juraj Soltes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: