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

Value of parameter "restart-required" for some attributes in Elytron subsystem resources does not match reality

XMLWordPrintable

    • User Experience
    • Not Required
    • Hide
      1. $JBOSS_HOME/bin/standalone.sh -c standalone-elytron.xml
      2. $JBOSS_HOME/bin/jboss-cli.sh -c
      3. /subsystem=elytron/constant-principal-decoder=constPrincDecoder:add(constant=roleX)
      4. /subsystem=elytron/concatenating-principal-decoder=concatPrincDecoder:add(principal-decoders=[constPrincDecoder,constPrincDecoder])
      5. /subsystem=elytron/concatenating-principal-decoder=concatPrincDecoder:write-attribute(name=principal-decoders,value=[constPrincDecoder,constPrincDecoder])
      Show
      $JBOSS_HOME/bin/standalone.sh -c standalone-elytron.xml $JBOSS_HOME/bin/jboss-cli.sh -c /subsystem=elytron/constant-principal-decoder=constPrincDecoder:add(constant=roleX) /subsystem=elytron/concatenating-principal-decoder=concatPrincDecoder:add(principal-decoders= [constPrincDecoder,constPrincDecoder] ) /subsystem=elytron/concatenating-principal-decoder=concatPrincDecoder:write-attribute(name=principal-decoders,value= [constPrincDecoder,constPrincDecoder] )

      Some attributes of some resources in elytron subsystem defines in its description that there is not necessary to do reload or restart. But reality is different. Trying to change such attributes you are informed that reload is necessary:

      configurable-sasl-server-factory/filters
      configurable-sasl-server-factory/properties
      custom-role-mapper/*
      aggregate-http-server-mechanism-factory/http-server-factories
      constant-permission-mapper/permissions
      filesystem-realm/levels
      filesystem-realm/name-rewriter
      ldap-key-store/attributes/new-item-template
      service-loader-http-server-mechanism-factory/module
      aggregate-principal-decoder/principal-decoders
      simple-permission-mapper/permission-mappings
      chained-name-rewriter/name-rewriters
      custom-permission-mapper/*
      configurable-http-server-mechanism-factory/properties
      custom-name-rewriter/*
      aggregate-sasl-server-factory/sasl-server-factories
      aggregate-name-rewriter/name-rewriters
      ldap-realm/identity-mapping/*
      mechanism-provider-filtering-sasl-server-factory/filters
      custom-principal-decoder/*
      custom-realm-mapper/*
      jdbc-realm/principal-query
      key-managers/credential-reference
      service-loader-sasl-server-factory/module
      concatenating-principal-decoder/principal-decoders
      credential-store/alias/*
      custom-modifiable-realm/*
      custom-credential-security-factory/*
      key-store/credential-reference
      custom-role-decoder/*
      aggregate-role-mapper/role-mappers
      custom-realm/*
      

      The attributes are defined as "restart-required" => "no-services", see e.g. /subsystem=elytron/concatenating-principal-decoder=concatPrincDecoder:read-resource-description

            yborgess1@redhat.com Yeray Borges Santana
            okotek@redhat.com Ondrej Kotek
            Ondrej Kotek Ondrej Kotek
            Ondrej Kotek Ondrej Kotek
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: