Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1347

Deep clone DeploymentInfo.principalVersusRolesMap

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 2.0.8.Final, 1.4.18.SP8
    • None
    • None
    • None

      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.

            ppalaga Peter Palaga
            ppalaga Peter Palaga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: