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/.
Internal JDBC User Store Configuration
Following is the configuration for the internal JDBC user store. It reads/writes into the default database of the carbon server if JDBCUserStoreManager
is enabled in the user-mgt.xml
.
<UserManager> <Realm> ......................... <UserStoreManager class="org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager"> <Property name="ReadOnly">false</Property> <Property name="MaxUserNameListLength">100</Property> <Property name="IsEmailUserName">false</Property> <Property name="DomainCalculation">default</Property> <Property name="PasswordDigest">SHA-256</Property> <Property name="StoreSaltedPassword">true</Property> <Property name="UserNameUniqueAcrossTenants">false</Property> <Property name="PasswordJavaRegEx">[\S]{5,30}$</Property> <Property name="PasswordJavaScriptRegEx">[\\S]{5,30}</Property> <Property name="UsernameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\<>]{3,30}$</Property> <Property name="UsernameJavaScriptRegEx">[\\S]{3,30}</Property> <Property name="RolenameJavaRegEx">^[^~!@#$;%^*+={}\\|\\\\<>]{3,30}$</Property> <Property name="RolenameJavaScriptRegEx">[\\S]{3,30}</Property> <Property name="UserRolesCacheEnabled">true</Property> </UserStoreManager> <AuthorizationManager class="org.wso2.carbon.user.core.authorization.JDBCAuthorizationManager"> </AuthorizationManager> </Realm> </UserManager>
The Main Properties of the Internal JDBS User Store Configuration
Property Name | Description |
---|---|
| Indicates whether the user store of this realm operates in the user read only mode or not. |
| Maximum number of users retrieved at once by user realm. |
| Indicates whether E-mail is used as user name (apply when realm operates in read only mode). |
| Can be either default or custom (apply when realm operates in read only mode). |
| Digesting method of the password. |
| Indicates whether to salt the password. |
| An attribute used in for multitenancy. |
| Policy defines password format. |
| Policy defines password format. |
| Policy defines user name format. |
| Policy defines user name format. |
| Policy defines role name format. |
| Policy defines role name format. |