The <Configuration>
section at the top of the User management functionality is provided by default in all WSO2 Carbon-based products and is configured in the <PRODUCT_HOME>/repository/conf/user-mgt.xml
file allows you to specify basic configuration for connecting to this user store (also called a realm).
Code Block | ||||
---|---|---|---|---|
| ||||
<Realm>
<Configuration>
<AddAdmin>true</AddAdmin>
<AdminRole>admin</AdminRole>
<AdminUser>
<UserName>admin</UserName>
<Password>admin</Password>
</AdminUser>
<EveryOneRoleName>everyone</EveryOneRoleName> <!-- By default users in this role see the registry root -->
<Property name="dataSource">jdbc/WSO2CarbonDB</Property>
</Configuration>
...
</Realm> |
Note the following regarding the configuration above.
...
.
...
Configures the default administrator for the WSO2 product. If the user store is read-only, the admin user must exist in the user store or the system will not start. If the external user store is read-only, you must select a user already existing in the external user store and add it as the admin user that is defined in the <AdminUser>
element. If the external user store is in read/write mode, and you set <AddAdmin>
to true
, the user you specify will be automatically created.
...
The main property contains details of the database connection.
Property Name | Description |
---|---|
dataSource | Data sources are configured in the <PRODUCT_HOME>/repository/conf/datasources/master-datasources.xml file. This property indicates the relevant data source configuration for the User Management database. |
For more information, see Deep Dive into user-mgt.xml.This documentation explains the main settings relevant to the system administrator.
Include Page | ||||
---|---|---|---|---|
|
Panel |
---|