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

FAMILY and HASH selectors in Elytron client are parsed incorrectly

XMLWordPrintable

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

      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:

      ...
      <sasl-mechanism-selector selector="#FAMILY(DIGEST)"/>
      ...
      

      [1] https://github.com/wildfly-security/wildfly-elytron/blob/master/src/main/java/org/wildfly/security/sasl/SaslMechanismSelector.java#L693

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

                Created:
                Updated:
                Resolved: