[jboss-jira] [JBoss JIRA] (ELY-1184) FAMILY and HASH selectors in Elytron client are parsed incorrectly
Chao Wang (JIRA)
issues at jboss.org
Mon May 22 23:21:00 EDT 2017
[ https://issues.jboss.org/browse/ELY-1184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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/java/org/wildfly/security/sasl/SaslMechanismSelector.java#L693
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list