Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-1216

Minus operator in Elytron SASL mechanism selector does not prevent mechanism from occuring later

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 1.1.0.Beta53
    • 1.1.0.Beta47
    • None
    • None

      Minus operatar should work as following:
      The - operator deletes all entries that match the given name or predicate, preventing them from occurring later. [1]

      When SASL mechanism selector includes - operator for some mechanism and this mechanism is added again then this mechanism can be used. It means it violates 'preventing them from occurring later'.

      e.g. PLAIN mechanism can be incorrectly used when selectors like selector="-PLAIN PLAIN" or selector="-PLAIN #ALL" are used for client.

      [1] https://issues.jboss.org/browse/EAP7-567?focusedCommentId=13408238&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13408238

            fjuma1@redhat.com Farah Juma
            olukas Ondrej Lukas (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: