The user-mgt.xml
main configuration section indicates the following information.
<Configuration> <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
Element Name | Description |
---|---|
| Admin's role name. This role has permission to carry out any action related to Management Console. If the user store is read, only then the this role is added to the system as a special internal role, where users are from the external user store. |
| Admin user's username. If the user store is read, only then the admin user must be present. Otherwise the system will not startup. |
| Admin user's password. If the user store is read, only then the admin is ignored. |
| Everyone role name. All the users in the system will belong to this role. |
The Main Properties of the User Realm Configuration
Tip
The database configurations related to user-mgt.xml
is defined in the $GREG_HOME/repository/conf/datasources/master-datasources.xml
Property Name | Description |
---|---|
dataSource |
The database configuration is defined in the |