Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-1184

FAMILY and HASH selectors in Elytron client are parsed incorrectly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 1.1.0.Beta46
    • 1.1.0.Beta42
    • None
    • 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:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: