-
Bug
-
Resolution: Done
-
Major
-
7.1.0.DR13
Changing attribute changing http-server-mechanism-factory of http-authentication-factory ends in reload-required state even though header allow-resource-service-restart=true is used
[standalone@localhost:9990 /] /subsystem=elytron/http-authentication-factory=application-http-authentication:write-attribute(name=http-server-mechanism-factory, value=global){allow-resource-service-restart=true} { "outcome" => "success", "response-headers" => { "operation-requires-reload" => true, "process-state" => "reload-required" } }
Header should work as attribute is declared as "restart-required" => "resource-services"
"http-server-mechanism-factory" => { "type" => STRING, "description" => "The HttpServerAuthenticationMechanismFactory to associate with this resource", "expressions-allowed" => false, "required" => true, "nillable" => false, "capability-reference" => "org.wildfly.security.http-server-mechanism-factory", "min-length" => 1L, "max-length" => 2147483647L, "access-type" => "read-write", "storage" => "configuration", "restart-required" => "resource-services" }
And according to documentation [1]:
resource-services – The operation can only immediately update the persistent configuration; applying the operation to the runtime will require a subsequent restart of some services associated with the resource. If the operation includes the request header "allow-resource-service-restart" => true, the handler for the operation will go ahead and restart the runtime service. Otherwise executing the operation will put the server into a "reload-required" state. (See the discussion of "all-services" above for more on the "reload-required" state.)
[1] https://docs.jboss.org/author/display/WFLY10/Description+of+the+Management+Model
Make allow-resource-service-restart=true work or if it is not achievable redefine restart-required model metadata appropriately, e.g. "all-services"
- is cloned by
-
WFCORE-2500 Elytron, changing http-server-mechanism-factory of http-authentication-factory ends in reload-required state
- Resolved
- is incorporated by
-
JBEAP-9571 (7.1.0) Upgrade to WildFly Core to 3.0.0.Beta13
- Closed
-
JBEAP-10508 (7.1.0) Upgrade to WildFly Core to 3.0.0.Beta21
- Closed
- relates to
-
JBEAP-10168 UnsupportedOperationException for {allow-resource-service-restart=true} for many attributes in Elytron subsystem
- Closed
-
JBEAP-10965 Elytron, changing security-domain/mechanism-configurations of http-authentication-factory ends in reload-required state
- Closed