Users can change the default user management functionality related configurations by editing the <PRODUCT_HOME>/repository/conf/user-mgt.xml
file using the information given below.
XML Elements
XML element | Description | Data type | Default value | Mandatory/Optional | Sample |
<UserManager> | User kernel configuration for Carbon server. | ||||
_____<Realm> | Realm configuration. | ||||
__________<Configuration> | |||||
_______________<AddAdmin> | This mentions whether the admin user and admin role must be created in the primary user store. | Boolean | N/A | Mandatory | |
_______________<AdminRole> | The role name that is used as an admin role for the Carbon server. | String | N/A | Mandatory | |
_______________<AdminUser> | |||||
____________________<UserName> | User name that is used as an admin user name for the Carbon server. | String | N/A | Mandatory | |
____________________<Password> | Password of the admin user, If the admin user is needed be created in the Carbon server. | String | N/A | Optional | |
_______________<EveryOneRoleName> | By default, every user in the user store is assigned to this role. | String | N/A | Mandatory | |
_______________<Property> | User realm configuration specific property values. | String | N/A | Mandatory | |
__________<UserStoreManager class=""> | User Store manager implementation classes and their configurations for use realm. Use the ReadOnlyLDAPUserStoreManager to do read-only operations for external LDAP user stores. To do both read and write operations, use the ReadWriteLDAPUserStoreManager for external LDAP user stores. If you wish to use an Active Directory Domain Service (AD DS) or Active Directory Lightweight Directory Service (AD LDS) , use the ActiveDirectoryUserStoreManager. This can be used for both read-only and read/write operations. Use JDBCUserStoreManager for both internal and external JDBC user stores. | String | N/A | Mandatory | |
_______________<Property> | User store configuration specific property values. See working with primary user store properties for more information. | String | N/A | Optional | |
__________<AuthorizationManager class=""> | Authorization manager implementation class and its configuration for user realm. | String | N/A | Mandatory | |
_______________<Property> | Authorization manager configuration specific property values. | String | N/A | Optional |