[英]WSO2 5.3.0 - accountDisabled claim storage
我有WSO2 IS 5.3.0
在两个完全独立的环境中运行。 在一种环境中, http://wso2.org/claims/identity/accountDisabled
由UM_USER_ATTRIBUTE
表支持,而在另一种环境中,它由IDN_IDENTITY_USER_DATA
支持。
当我说支持时,我的意思是对UserStoreManager.getUserClaimValues
的调用返回来自不同表的基础数据(两个环境都由独立的 MYSQL DB 支持)
我正在寻找关于我应该寻找哪些配置差异以使行为相同的方向。 到目前为止,我已经验证了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
/conf/identity/identity.xml 文件中名称为org.wso2.carbon.identity.governance.listener.IdentityStoreEventListener
的 EventListener 配置。
Data.Store
属性在使用来自 IDN_IDENT 的声明值(对于以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>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.