[英]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.