]
Brian Stansberry commented on WFCORE-2766:
------------------------------------------
These alias resources may no longer be resources once work on converting external items
from being resources is done. And once that happens we'd have no mechanism for linking
the alias to the store.
So to implement this enhancement we would have to trigger reload-required on any alias
update or removal, as we don't know that the alias is referenced..
Application server must be reloaded when is updated credential
reference of credential store. There isn't any information that it needs reload.
-----------------------------------------------------------------------------------------------------------------------------------------------
Key: WFCORE-2766
URL:
https://issues.jboss.org/browse/WFCORE-2766
Project: WildFly Core
Issue Type: Bug
Components: Security
Reporter: Hynek Švábek
Assignee: Yeray Borges
Application server must be reloaded when is updated credential reference of credential
store. There isn't any information that it needs reload.
In model is "restart-required" => "no-services" and
credential-reference update operation ends with success message without any information
about reload.
{code:collapse}
"credential-reference" => {
"type" => OBJECT,
"description" => "Credential reference to be used to
create protection parameter.",
"expressions-allowed" => false,
"required" => true,
"nillable" => false,
"access-constraints" => {"sensitive" =>
{"credential" => {"type" => "core"}}},
"value-type" => {
"store" => {
"type" => STRING,
"description" => "The name of the credential
store holding the alias to credential.",
"expressions-allowed" => false,
"required" => false,
"nillable" => true,
"capability-reference" =>
"org.wildfly.security.credential-store",
"min-length" => 1L,
"max-length" => 2147483647L
},
"alias" => {
"type" => STRING,
"description" => "The alias which denotes
stored secret or credential in the store.",
"expressions-allowed" => true,
"required" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L
},
"type" => {
"type" => STRING,
"description" => "The type of credential this
reference is denoting.",
"expressions-allowed" => true,
"required" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L
},
"clear-text" => {
"type" => STRING,
"description" => "Secret specified using clear
text. Check credential store way of supplying credential/secrets to services.",
"expressions-allowed" => true,
"required" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L
}
},
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" => "no-services"
},
{code}