Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-14994

(7.1.z) UNDERTOW-1347 Deep clone DeploymentInfo.principalVersusRolesMap

XMLWordPrintable

      In io.undertow.servlet.api.DeploymentInfo.clone() there is just

      info.principalVersusRolesMap.putAll(principalVersusRolesMap);
      

      principalVersusRolesMap is a map from strings to sets and we should clone the sets as we do with servlets and filters.

      A PR follows.

              spyrkob Bartosz Spyrko-Smietanko
              spyrkob Bartosz Spyrko-Smietanko
              Daniel Cihak Daniel Cihak
              Daniel Cihak Daniel Cihak
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: