WildFly CLI - Add Subordinate Host Controller Server Identity Secret Value: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * WildFly CLI Operations") |
No edit summary |
||
Line 2: | Line 2: | ||
* [[WildFly CLI Operations#Subjects|WildFly CLI Operations]] | * [[WildFly CLI Operations#Subjects|WildFly CLI Operations]] | ||
=Set the host controller's secret identity= | |||
Use the actual host name instead of "master". Note that the value of the host name will be used in the authentication process as "user name" on the domain controller. | |||
<pre> | |||
/host=master/core-service=management/security-realm=ManagementRealm/server-identity=secret:add(value="YXAwMm11MTIzIQ==") | |||
{ | |||
"outcome" => "success", | |||
"response-headers" => { | |||
"operation-requires-reload" => true, | |||
"process-state" => "reload-required" | |||
}, | |||
"result" => undefined, | |||
"server-groups" => undefined | |||
} | |||
</pre> | |||
=Reload= | |||
Use the actual host name instead of "master". | |||
<pre> | |||
cd /host=master | |||
:reload | |||
</pre> | |||
=Verify if the change took= | |||
<pre> | |||
/host=master/core-service=management/security-realm=ManagementRealm/server-identity=secret:read-attribute(name=value) | |||
{ | |||
"outcome" => "success", | |||
"result" => "YXAwMm11MTIzIQ==" | |||
} | |||
</pre> |
Revision as of 02:31, 19 February 2016
Internal
Set the host controller's secret identity
Use the actual host name instead of "master". Note that the value of the host name will be used in the authentication process as "user name" on the domain controller.
/host=master/core-service=management/security-realm=ManagementRealm/server-identity=secret:add(value="YXAwMm11MTIzIQ==") { "outcome" => "success", "response-headers" => { "operation-requires-reload" => true, "process-state" => "reload-required" }, "result" => undefined, "server-groups" => undefined }
Reload
Use the actual host name instead of "master".
cd /host=master :reload
Verify if the change took
/host=master/core-service=management/security-realm=ManagementRealm/server-identity=secret:read-attribute(name=value) { "outcome" => "success", "result" => "YXAwMm11MTIzIQ==" }