[jboss-jira] [JBoss JIRA] (ELY-1187) Mechanism names in 'or, 'and', 'eq' or 'if' predicates are not parsed correctly in mechanism selector in Elytron client

Ondrej Lukas (JIRA) issues at jboss.org
Tue May 23 04:06:01 EDT 2017


Ondrej Lukas created ELY-1187:
---------------------------------

             Summary: Mechanism names in 'or, 'and', 'eq' or 'if' predicates are not parsed correctly in mechanism selector in Elytron client
                 Key: ELY-1187
                 URL: https://issues.jboss.org/browse/ELY-1187
             Project: WildFly Elytron
          Issue Type: Bug
            Reporter: Ondrej Lukas
            Assignee: Darran Lofthouse
            Priority: Critical


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:
{code}
...
<sasl-mechanism-selector selector="(DIGEST-MD5||JBOSS-LOCAL-USER)"/>
...
{code}
is parsed as mechanisms {{DIGEST-MD5|}}, {{JBOSS-LOCAL-USER)}}.

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



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list