The <CARBON_HOME>/repository/conf/user-mgt.xml file's main configuration section indicates has the following information:
Code Block | ||||
---|---|---|---|---|
| ||||
<Configuration> <AdminRole>admin</AdminRole> <AdminUser> <UserName>admin</UserName> <Password>admin</Password> </AdminUser> <EveryOneRoleName>everyone</EveryOneRoleName> <!-- By default users in thsithis role sees the registry root --> <Property name="urldataSource">jdbc:h2:repository/database/WSO2CARBON_DB</WSO2CarbonDB</Property> <Property name="userName">wso2carbon</Property> <Property name="password">wso2carbon</Property> <Property name="driverName">org.h2.Driver</Property> <Property name="maxActive">50</Property> <Property name="maxWait">60000</Property> <Property name="minIdle">5</Property> </Configuration>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. the admin user must be presentexist in the user store. Otherwise ,the system won't start up. |
<AdminUser>\<Password> | Admin user's password. this element and its value are ignored. |
<EveryOneRoleName> | Everyone 's role name. |
The main properties of the user Realm Configuration
...
This can be explained as follows. It mainly contains details for the database connection.
...
Property Name | Description |
---|---|
| URL of the database. |
| Username of the database. |
| Password of the database. |
| Driver name. The driver must be added to the classpath. |
| Maximum number of active connections in the pool. |
| Max wait time of the connection. |
| Min idle time of the connection. |
...
hidden | true |
---|
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. |
MultiTenantRealmConfigBuilder | Tenant Manager specific realm config parameter. Can be used to build different types of realms for the tenant. |