]
Chao Wang reassigned ELY-1187:
------------------------------
Assignee: Chao Wang (was: Darran Lofthouse)
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
Affects Versions: 1.1.0.Beta42
Reporter: Ondrej Lukas
Assignee: Chao Wang
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 {{&&}}, {{==}}, {{x ? y : z}}
is used.