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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.1.0.ER2
    • 7.1.0.DR19
    • Security
    • 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:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: