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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 7.1.0.DR19
    • 7.1.0.DR18
    • Security
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: