WSO2 5.3.0 - accountDisabled 声明存储
WSO2 5.3.0 - accountDisabled claim storage
我在两个完全独立的环境中有 WSO2 IS 5.3.0
运行。在一个环境中,http://wso2.org/claims/identity/accountDisabled
由 UM_USER_ATTRIBUTE
table 支持,而在另一种环境中,它由 IDN_IDENTITY_USER_DATA
支持。
当我说支持时,我的意思是从不同的 table 调用 UserStoreManager.getUserClaimValues
returns 底层数据(两种环境都由独立的 MYSQL 数据库支持)
我正在寻找有关我应该寻找哪些配置差异以使行为相同的方向。到目前为止,我已经验证 claim-config.xml
在两种环境中是相同的(见下文)。
<Claim>
<ClaimURI>http://wso2.org/claims/identity/accountDisabled</ClaimURI>
<DisplayName>Account Disabled</DisplayName>
<!-- Proper attribute Id in your user store must be configured for this -->
<AttributeID>ref</AttributeID>
<Description>Account Disabled</Description>
<SupportedByDefault />
</Claim>
提前致谢
检查 repository/conf/identity/identity.xml
文件中名称为 org.wso2.carbon.identity.governance.listener.IdentityStoreEventListener
的 EventListener 配置。
Data.Store
属性 在使用来自 IDN_IDENTITY_USER_DATA 的声明值(对于以 http://wso2.org/claims/identity/*
开头的声明 URI)时应该具有 org.wso2.carbon.identity.governance.store.JDBCIdentityDataStore
值。
<EventListener type="org.wso2.carbon.user.core.listener.UserOperationEventListener" name="org.wso2.carbon.identity.governance.listener.IdentityStoreEventListener"
orderId="97" enable="true">
<Property name="Data.Store">org.wso2.carbon.identity.governance.store.JDBCIdentityDataStore</Property>
</EventListener>
我在两个完全独立的环境中有 WSO2 IS 5.3.0
运行。在一个环境中,http://wso2.org/claims/identity/accountDisabled
由 UM_USER_ATTRIBUTE
table 支持,而在另一种环境中,它由 IDN_IDENTITY_USER_DATA
支持。
当我说支持时,我的意思是从不同的 table 调用 UserStoreManager.getUserClaimValues
returns 底层数据(两种环境都由独立的 MYSQL 数据库支持)
我正在寻找有关我应该寻找哪些配置差异以使行为相同的方向。到目前为止,我已经验证 claim-config.xml
在两种环境中是相同的(见下文)。
<Claim>
<ClaimURI>http://wso2.org/claims/identity/accountDisabled</ClaimURI>
<DisplayName>Account Disabled</DisplayName>
<!-- Proper attribute Id in your user store must be configured for this -->
<AttributeID>ref</AttributeID>
<Description>Account Disabled</Description>
<SupportedByDefault />
</Claim>
提前致谢
检查 repository/conf/identity/identity.xml
文件中名称为 org.wso2.carbon.identity.governance.listener.IdentityStoreEventListener
的 EventListener 配置。
Data.Store
属性 在使用来自 IDN_IDENTITY_USER_DATA 的声明值(对于以 http://wso2.org/claims/identity/*
开头的声明 URI)时应该具有 org.wso2.carbon.identity.governance.store.JDBCIdentityDataStore
值。
<EventListener type="org.wso2.carbon.user.core.listener.UserOperationEventListener" name="org.wso2.carbon.identity.governance.listener.IdentityStoreEventListener"
orderId="97" enable="true">
<Property name="Data.Store">org.wso2.carbon.identity.governance.store.JDBCIdentityDataStore</Property>
</EventListener>