Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The <CARBON_HOME>/repository/conf/user-mgt.xml file's main configuration section indicates has the following information.:

Code Block
languagehtml/xml
linenumberstrue
<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<SimpleRealmConfigBuilder
   </Property>
</Configuration>

The

...

main elements of the Realm Configuration are as follows.

Element Name

Description

<AdminRole>

Admin's role name.
This role has permission to carry out any action related to the Management Console. If the user store is read-only, only then the this role is added to the system as a special internal role , where users are from the an external user store.

<AdminUser>\<UserName>

Admin user's username. 
If the user store is read-only,

only then

the admin user must

be present

exist in the user store. Otherwise the system

will not startup

won't start.

<AdminUser>\<Password>

Admin user's password. 
If the user store is read

, only then the admin is

-only, this element and its value are ignored.

<EveryOneRoleName>

Everyone role name.
All the users in the system will belong to this role.

The

...

main properties of the

...

user Realm Configuration

...

titleTip

...

can be explained as follows. It mainly contains details for the database connection.

Property Name

Description

dataSource
Data sources are configured in the <PRODUCT_HOME>/repository/conf/datasources/master-datasources.xml

...

Property Name

...

Description

 

dataSource

...

 

The database configuration is defined in the master-datasources.xml

...

hiddentrue

...

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.