Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4364833

PrivateCredentialPermission incorrectly canonicalizes spaces in names

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.0
    • security-libs
    • None
    • merlin
    • generic
    • generic

      When PrivateCredentialPermission parses principal names in the target, it replaces multiple contiguous spaces with a single space. As a result, a permission created with target
          "foo bar \"foo bar\"
      will imply (according to the implies method) a permission created with target
          "foo bar \"foo bar\"
      but the two permissions will not be equal (according to the equals method). It should neither imply nor be equal.

            claisunw Charlie Lai (Inactive)
            bscheiflsunw Bob Scheifler (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: