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 |
---|---|
|
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. |
|
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. |
|
Admin user's password. If the user store is read-only, then the admin is ignored. |
|
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 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. |