WSO2 products can be configured to authenticate users using their attributes such as email or mobile number instead of the username. This topic provides instructions on how to set up your WSO2 product to authenticate a users by using their email.
...
Note |
---|
Note: These properties have not been added by default for the JDBCUserStoreManager. Therefore, if you are using a JDBC-based user store, you need to add the following properties marked with an asterisk * to the |
Parameter | Description | ||||||
---|---|---|---|---|---|---|---|
UserNameAttribute * | For this you need to set mail attribute of the user.
| ||||||
UserNameSearchFilter | For this you need to use the mail attribute of the user instead of cn or uid.
| ||||||
UserNameListFilter | For this you need to use the mail attribute of the user.
| ||||||
UserDNPattern | This parameter is used to speedup the LDAP search operations. You can comment out this config.
| ||||||
UsernameJavaRegEx | UsernameWithEmailJavaScriptRegEx * | Add the following property under the relevant user store manager tag. This property enables you to add special characters like "@" in the user name.
| |||||
Realm configurations | The
|
...