0



我正在尝试按照以下 GITHUB 存储库中提供的步骤将 MongoDB 用户存储配置为 WSO2 Identity Server v5.9.0 中的主要用户存储:

MongoDB 用户存储扩展

[user_store]
type = "database"
class = "org.wso2.carbon.mongodb.user.store.mgt.MongoDBUserStoreManager"
connection_url = "mongodb://localhost:27017/wso2_carbon_db"
connection_name = "wso2_admin"
connection_password = "test123"

在两个路径中复制 mongodb.user.store.mgt-1.0.0-SNAPSHOT.jar 后,我尝试运行 wso2server.bat

latestwso2\repository\components\plugins
latestwso2\repository\components\dropins

WSO2 身份服务器控制台

WSO2 身份服务器控制台

请让我知道我还需要配置什么才能使其正常工作。

4

1 回答 1

1

捆绑包似乎没有被激活。[1] 您使用的扩展可能与 IS-5.9.0 不兼容。它与 IS-5.5.0 兼容。因此,应该升级与 IS-5.9.0[2] 中使用的依赖版本相关的版本

[1]。https://movingaheadblog.blogspot.com/2014/01/how-to-debug-wso2-carbon-products-using.html

[2]。https://github.com/wso2/product-is/blob/v5.9.0/pom.xml

于 2020-03-10T11:01:14.687 回答