Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-7254

pattern-filter disappears if predefined-filter is used for configurable-sasl-server-factory in Elytron subsystem

    XMLWordPrintable

Details

    • Hide

      CLI commands:

      /subsystem=elytron/configurable-sasl-server-factory=someFactory:add(sasl-server-factory=global,filters=[{pattern-filter=(.*),predefined-filter=BINDING}])
      

      results to following XML:

      <configurable-sasl-server-factory name="someFactory" sasl-server-factory="global">
          <filters>
              <filter>
                  <predefined-filter value="BINDING"/>
              </filter>
          </filters>
      </configurable-sasl-server-factory>
      
      Show
      CLI commands: /subsystem=elytron/configurable-sasl-server-factory=someFactory:add(sasl-server-factory=global,filters=[{pattern-filter=(.*),predefined-filter=BINDING}]) results to following XML: <configurable-sasl-server-factory name= "someFactory" sasl-server-factory= "global" > <filters> <filter> <predefined-filter value= "BINDING" /> </filter> </filters> </configurable-sasl-server-factory>

    Description

      In case when configurable-sasl-server-factory is created through CLI with filter which uses both pattern-filter and predefined-filter, then only predefined-filter is stored into configuration (pattern-filter disappears).

      Suggestion:
      In case when usage of both filters is unsupported option, then it should be denied by CLI. In case when it is supported option, then both of them should be stored in configuration.

      Attachments

        Issue Links

          Activity

            People

              rhn-support-ivassile Ilia Vassilev
              olukas Ondrej Lukas (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: