簡體   English   中英

WSO2 5.3.0 - accountDisabled 聲明存儲

[英]WSO2 5.3.0 - accountDisabled claim storage

我有WSO2 IS 5.3.0在兩個完全獨立的環境中運行。 在一種環境中, http://wso2.org/claims/identity/accountDisabledUM_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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM