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

Details

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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: