This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Realm Configuration

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

<AdminRole>

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.

<AdminUser><UserName>

Admin user's username. If the user store is read, only then the admin user must be present. Otherwise the system will not startup.

<AdminUser><Password>

Admin user's password. If the user store is read, only then the admin is ignored.

<EveryOneRoleName>

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 master-datasources.xml