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.
Click on the table and use the left and right arrow keys to scroll horizontally.
XML Elements
XML element | Attribute | Description | Data type | Default value | Mandatory/Optional | Sample |
<UserManager> | User kernel configuration for Carbon server. | |||||
__<Realm> | Realm configuration. | |||||
____<Configuration> | <Configuration><AddAdmin>true</AddAdmin><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></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 to represent an admin user for the Carbon server. | String | N/A | Mandatory | ||
___________<Password> | Password of the admin user, If the admin user needs to 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> | 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 | <UserStoreManager class="org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager"> | |
class | ||||||
______<Property> | User store configuration specific property values. See working with primary user store properties for more information. | String | N/A | Optional | <Property name="ReadOnly">false</Property> | |
____<AuthorizationManager> | Authorization manager implementation class and its configuration for user realm. | String | N/A | Mandatory | <AuthorizationManager class="org.wso2.carbon.user.core.authorization.JDBCAuthorizationManager"> | |
class | ||||||
______<Property> | Authorization manager configuration specific property values. | String | N/A | Optional | <Property name="AuthorizationCacheEnabled">true</Property> |