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

Mechanism names in 'or, 'and', 'eq' or 'if' predicates are not parsed correctly in mechanism selector in Elytron client

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • None
    • 1.1.0.Beta42
    • None
    • None

      When Elytron client configuration file includes sasl-mechanism-selector with string which contains 'or, 'and', 'eq' and 'if' predicate then its values are not parsed correctly. It seems that name of mechanism is parsed as 'name of mechanism'+'1 another character'.

      For example, following element for selector in Elytron client configuration file:

      ...
      <sasl-mechanism-selector selector="(DIGEST-MD5||JBOSS-LOCAL-USER)"/>
      ...
      

      is parsed as mechanisms DIGEST-MD5|, JBOSS-LOCAL-USER).

      The same behavior happens also if predicate &&, ==, x ? y : z is used.

            chaowan@redhat.com Chao Wang
            olukas Ondrej Lukas (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: