WSO2 身份服务器 - 将数据库更改为 PostgreSQL 后无法在数据库 table UM_USER 中看到用户
WSO2 Identity server - not able to see the users in database table UM_USER after changing the database to PostgreSQL
我已按照 [WSO2]https://is.docs.wso2.com/en/latest/setup/changing-to-postgresql 文档将默认数据库从 H2 更改为 PostgreSQL,并使用数据库脚本创建了 tables。
我能够 运行 WSO2 身份服务器并且能够使用管理控制台添加用户。
但是我在 postgreSQL 的 um_user table 中看不到那些用户列表。即使我也无法在 H2 数据库 中找到那些用户列表。
找到我的 deployment.toml
文件。
[database.identity_db]
type="postgre"
url="jdbc:postgresql://localhost:5432/wso2_identity_db"
username="postgres"
password="postgres"
[database.identity_db.pool_options]
maxActive="80"
maxWait="60000"
minIdle="5"
testOnBorrow=true
validationQuery="SELECT 1;COMMIT"
validationInterval="30000"
defaultAutoCommit=true
[database.shared_db]
type="postgre"
url="jdbc:postgresql://localhost:5432/wso2_shared_db"
username="postgres"
password="postgres"
[database.shared_db.pool_options]
maxActive="80"
maxWait="60000"
minIdle="5"
testOnBorrow=true
validationQuery="SELECT 1;COMMIT"
validationInterval="30000"
defaultAutoCommit=true
我正在使用以下版本的 wso2 和 postgreSQL。
WSO2 version = 5.9.0
PostgreSQL Version = 12
有人可以帮我调试这个问题吗?
身份数据库存储令牌等与身份相关的数据。 Shared DB 负责存储注册表数据。但是用户存储在不同的位置。他们是用户 stores.By 默认用户存储在 ReadWriteLDAP 用户存储中。根据您的要求,您需要将 JDBC 用户存储配置为主要用户存储。请参考以下文档。它具有与 PostgreSQL 用户存储相关的特定配置
https://is.docs.wso2.com/en/5.9.0/setup/configuring-a-jdbc-user-store/
我已按照 [WSO2]https://is.docs.wso2.com/en/latest/setup/changing-to-postgresql 文档将默认数据库从 H2 更改为 PostgreSQL,并使用数据库脚本创建了 tables。
我能够 运行 WSO2 身份服务器并且能够使用管理控制台添加用户。
但是我在 postgreSQL 的 um_user table 中看不到那些用户列表。即使我也无法在 H2 数据库 中找到那些用户列表。
找到我的 deployment.toml
文件。
[database.identity_db]
type="postgre"
url="jdbc:postgresql://localhost:5432/wso2_identity_db"
username="postgres"
password="postgres"
[database.identity_db.pool_options]
maxActive="80"
maxWait="60000"
minIdle="5"
testOnBorrow=true
validationQuery="SELECT 1;COMMIT"
validationInterval="30000"
defaultAutoCommit=true
[database.shared_db]
type="postgre"
url="jdbc:postgresql://localhost:5432/wso2_shared_db"
username="postgres"
password="postgres"
[database.shared_db.pool_options]
maxActive="80"
maxWait="60000"
minIdle="5"
testOnBorrow=true
validationQuery="SELECT 1;COMMIT"
validationInterval="30000"
defaultAutoCommit=true
我正在使用以下版本的 wso2 和 postgreSQL。
WSO2 version = 5.9.0
PostgreSQL Version = 12
有人可以帮我调试这个问题吗?
身份数据库存储令牌等与身份相关的数据。 Shared DB 负责存储注册表数据。但是用户存储在不同的位置。他们是用户 stores.By 默认用户存储在 ReadWriteLDAP 用户存储中。根据您的要求,您需要将 JDBC 用户存储配置为主要用户存储。请参考以下文档。它具有与 PostgreSQL 用户存储相关的特定配置
https://is.docs.wso2.com/en/5.9.0/setup/configuring-a-jdbc-user-store/