<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><b><br></b></div><div>While working on the console extension mechanism [1], I discovered that we don't use a common representation of properties within the management model. Below are two descriptions of properties (name/value pairs) taken from security domains and server-groups. Server-groups use a addressable resource representations for name value pairs, while security domains use some (bogus?) definition of type=object and value-type=String.</div><div><br></div><div><i>Is it possible to make resources rely on the same representation for properties? </i></div><div><br></div><div>I don't even know how it's currently possible to define a login module option using the CLI today. Non addressable resources cannot be *:add()'ed, can't they? </div><div style="font-weight: bold;"><b><br></b></div><b>/profile=default/subsystem=security/security-domain=other/authentication=classic/login-module=RealmDirect</b><br><br><br>"module-options" => {<br> "type" => OBJECT,<br> "description" => "List of module options containing a name/value pair.",<br> "expressions-allowed" => true,<br> "nillable" => true,<br> "value-type" => STRING,<br> "access-type" => "read-write",<br> "storage" => "configuration",<br> "restart-required" => "no-services"<br> }<div><br></div><div><br></div><div><b>/server-group=*</b></div><div><br></div><div> "system-property" => {<br> "description" => "A list of system properties to set on all servers in this server-group.",<br> "model-description" => {"*" => {<br> "description" => "A system property to set on all servers in this server-group.",<br> "access-constraints" => {"sensitive" => {"system-property" => {"type" => "core"}}},<br> "attributes" => {<br> "value" => {<br> "type" => STRING,<br> "description" => "The value of the system property.",<br> "expressions-allowed" => true,<br> "nillable" => true,<br> "min-length" => 0L,<br> "max-length" => 2147483647L,<br> "access-type" => "read-write",<br> "storage" => "configuration",<br> "restart-required" => "no-services"<br> },<br> "boot-time" => {<br> "type" => BOOLEAN,<br> "description" => "If true the system property is passed on the command-line to the started server jvm. If false, it will be pushed to the server as part of the startup sequence.",<br> "expressions-allowed" => true,<br> "nillable" => true,<br> "default" => true,<br> "access-type" => "read-write",<br> "storage" => "configuration",<br> "restart-required" => "no-services"<br> }<br> },<br> "operations" => undefined,<br> "children" => {}<br> }}<br> }</div></body></html>