11.8. jaas:manage, manage
Abstract
Synopsis
jaas:manage
[
--help
] {[
--realm realm
] | [
--index index
]} [
--module module
] [
--force
]
Details
Arguments
Table 11.8. jaas:manage Arguments
Argument | Interpretation |
---|---|
--help | Displays the online help for this command. |
--realm | Select the realm to edit by specifying its realm name. |
--index | Select the realm to edit by specifying its index. |
--module | Specify which of the realm's login modules are to be edited. |
--force | Force the switch to the specified realm. If a different realm was already opened for editing its changes are abandoned without being applied. |
Examples
--realm
option. For example, if the container is a standalone instance (no fabric installed), you can start to edit the karaf
realm as follows:
jaas:manage --realm karaf
fabric-jaas
feature automatically installs another realm named karaf
at a higher priority, so that it overrides the default karaf
realm. For example, in a fabric, the jaas:realms command returns a list similar to the following:
Index Realm Module Class 1 karaf org.apache.karaf.jaas.modules.properties.PropertiesLoginModule 2 karaf io.fabric8.jaas.ZookeeperLoginModule
--index
option, specifying one of the index values from the list. The current active karaf
realm is the ZookeeperLoginModule
, which is selected by the index value, 2
, as follows:
jaas:manage --index 2