WSO2 身份服务器 - 无法使用 "error while persisting user : renault" 添加新用户

WSO2 Identity server - Unable to add new user with "error while persisting user : renault"

我在 WSO2 身份服务器版本 5.10.0 中创建了一个用户 (testinguser),然后删除了它们,因为我在主用户​​存储中创建了它们,但我想将它们添加到辅助用户存储中 (MySQL).

但是,当我尝试添加任何名称的用户时,出现错误 Could not add user wso2is/renault. Error: Error while persisting user : renault 但雷诺未创建为用户

我也在日志中看到了这个

[2020-04-25 00:18:19,727] [2f2cdf35-4c34-447e-9ffa-c14490a7e101] ERROR {org.wso2.carbon.user.mgt.ui.UserAdminClient} - Error while persisting user : renault org.wso2.carbon.user.mgt.stub.UserAdminUserAdminException: UserAdminUserAdminException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAcc

添加新用户存储时,您已将 JDBCUserStoreManager 用作 用户存储管理器 Class。 Select UniqueIDJDBCUserStoreManager 代替。

如文档中所述,

From WSO2 IS 5.10.0 onwards, all user store managers have UniqueID included as part of the user store manager name.

The user store managers that do not have UniqueID as part of the user store manager name are only available for backward compatibility purposes and can only be used if you are migrating from a previous version of WSO2 Identity Server.

参考:Configuring Secondary User Stores