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 thsi role sees the registry root -->

<Property name="url">jdbc:h2:repository/database/WSO2CARBON_DB</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>

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 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 won't start up.

<AdminUser>\<Password>

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

<EveryOneRoleName>

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

The main properties of the user Realm Configuration

This mainly contains details for the database connection.

Property Name

Description

url

URL of the database.

userName

Username of the database.

password

Password of the database.

driverName

Driver name. The driver must be added to the classpath.

maxActive

Maximum number of active connections in the pool.

maxWait

Max wait time of the connection.

minIdle

Min idle time of the connection.