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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.0.DR7
    • 7.1.0.DR5
    • Security
    • None
    • 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:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: