Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This property is described in section Realm Configuration.

2. Add a property by the name 'passwordHashMethod' to 'JDBCUserStoreManager' default configuration shown above and set the value to 'SHA' or 'PLAIN_TEXT'. For example,
 

Code Block
languagehtml/xml
<UserStoreManager class="org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager">
...
    <Property name="passwordHashMethod">SHA</Property>
...
</UserStoreManager>

3. Go to $PRODUCT_HOME/repository/conf/tenant-mgt.xml file and comment out the 'CommonHybridLDAPTenantManager'  which is used by default and uncomment JDBCTenantManager. For example, 

Code Block
languagehtml/xml
<TenantManager class="org.wso2.carbon.user.core.tenant.JDBCTenantManager"></TenantManager>