The <PRODUCT_HOME>/repository/conf/user-mgt.xml
file's main configuration section has the following information:
Code Block | ||||
---|---|---|---|---|
| ||||
<Configuration>
<AddAdmin>true</AddAdmin>
<AdminRole>admin</AdminRole>
<AdminUser>
<UserName>admin</UserName>
<Password>admin</Password>
</AdminUser>
<EveryOneRoleName>everyone</EveryOneRoleName> <!-- By default users in this role sees the registry root -->
<Property name="dataSource">jdbc/WSO2CarbonDB</Property>
<Property name="MultiTenantRealmConfigBuilder">org.wso2.carbon.user.core.config.multitenancy.SimpleRealmConfigBuilder
</Property>
</Configuration>
|
The main elements of the Realm Configuration can be explained as follows.
Element Name | Description |
---|---|
<AdminRole> | Admin's role name. |
<AdminUser>\<UserName> | Admin user's username. |
<AdminUser>\<Password> | Admin user's password. |
<EveryOneRoleName> | Everyone role name. |
The main properties of the user Realm Configuration can be explained as follows. It mainly contains details for the database connection.
...
Property Name
...
Description
...
dataSource
...
MultiTenantRealmConfigBuilder
...
Include Page | ||||
---|---|---|---|---|
|
For more information, see Configuring user-mgt.xml.