简体   繁体   English

WSO2 身份服务器 - 无法添加新用户并显示“保留用户时出错:雷诺”

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

I created a user (testinguser) in WSO2 identity server version 5.10.0 and deleted them afterwards cause I had created them in the primary user store yet I wanted to add them to the secondary user store (MySQL).我在 WSO2 身份服务器版本 5.10.0 中创建了一个用户 (testinguser),之后删除了它们,因为我在主要用户存储中创建了它们,但我想将它们添加到辅助用户存储 (MySQL)。

However, when I try to add the user with any name, I am getting the error Could not add user wso2is/renault. Error: Error while persisting user: renault但是,当我尝试添加具有任何名称的用户时,出现错误Could not add user wso2is/renault. Error: Error while persisting user: renault Could not add user wso2is/renault. Error: Error while persisting user: renault yet renault is not created as a user Could not add user wso2is/renault. Error: Error while persisting user: renault但未将雷诺创建为用户

I also see this in the logs我也在日志中看到这个

[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

用户创建时的错误消息

You have used JDBCUserStoreManager as the User Store Manager Class when adding the new user store.添加新用户存储时,您已将JDBCUserStoreManager用作用户存储管理器 Class Select UniqueIDJDBCUserStoreManager instead. Select UniqueIDJDBCUserStoreManager代替。

As described in the documentation,如文档中所述,

From WSO2 IS 5.10.0 onwards, all user store managers have UniqueID included as part of the user store manager name.从 WSO2 IS 5.10.0 开始,所有用户存储管理器都将UniqueID作为用户存储管理器名称的一部分。

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.没有UniqueID作为用户存储管理器名称一部分的用户存储管理器仅可用于向后兼容目的,并且只能在您从以前版本的 WSO2 Identity Server 迁移时使用。

Refer: Configuring Secondary User Stores参考: 配置二级用户存储

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM