]
Chao Wang reassigned ELY-1184:
------------------------------
Assignee: Chao Wang (was: Darran Lofthouse)
FAMILY and HASH selectors in Elytron client are parsed incorrectly
------------------------------------------------------------------
Key: ELY-1184
URL:
https://issues.jboss.org/browse/ELY-1184
Project: WildFly Elytron
Issue Type: Bug
Affects Versions: 1.1.0.Beta42
Reporter: Ondrej Lukas
Assignee: Chao Wang
Priority: Critical
When #FAMILY or #HASH selector is used in Elytron client configuration file then it is
parsed incorrectly - end bracket ')' is included in parsed family/hash name - it
means it results to {{DIGEST)}} instead of {{DIGEST}}. It seems it is parsed incorrectly
in {{parseSpecialWithName}} method of {{org.wildfly.security.sasl.SaslMechanismSelector}}
class in [1].
Following element for selector is used in Elytron client configuration file:
{code}
...
<sasl-mechanism-selector selector="#FAMILY(DIGEST)"/>
...
{code}
[1]
https://github.com/wildfly-security/wildfly-elytron/blob/master/src/main/...