簡體   English   中英

WSO2 IS - /identity/questionCollection VS org.wso2.carbon.identity.mgt/questionCollection 上的故事挑戰問題之間的差異

[英]WSO2 IS - Difference between Story Challenge Questions on /identity/questionCollection VS org.wso2.carbon.identity.mgt/questionCollection

想了解在 WSO2 中存儲挑戰問題的區別如下所示。 哪種方法好,推薦哪種方法和各自的 API?

遵循以下哪種方案?

在此處輸入圖像描述

1. 方法一 -org.wso2.carbon.identity.mgt/questionCollection中存儲挑戰問題,如下所示。

/_system/config/repository/components/org.wso2.carbon.identity.mgt/questionCollection

在此處輸入圖像描述

期望-

- 分享上述問題的REST API列表- 這種方法在WSO2 IS 6.0.0中可用嗎?

2. 方法二- 在identity/questionCollection中存儲挑戰問題,如下所示。 **

/_system/config/identity/questionCollection

** 在此處輸入圖像描述

期望-

- 分享以上問題的REST API列表

  1. 我發現/_system/config/repository/components/org.wso2.carbon.identity.mgt/questionCollection中存儲的挑戰問題由UserIdentityManagementAdminService管理。 它的setChallengeQuestions服務用於為服務器設置問題。 getAllChallengeQuestions服務用於檢索存儲在此位置的問題。 使用setChallengeQuestionsOfUser服務,我們可以為每個用戶設置挑戰問題和答案,問題是從這個位置獲取的。 我完全不確定在UserIdentityManagementAdminService中提供關於此位置的挑戰問題和挑戰問題管理服務的原因。
  • 無論如何,沒有 REST API來設置/檢索/_system/config/repository/components/org.wso2.carbon.identity.mgt/questionCollection位置中維護的挑戰問題。
  1. 如果您使用的是 SOAP API,ChallengeQuestionManagementAdminService 是預期的管理服務,用於管理存儲在/_system/config/identity/questionCollection位置的服務器的挑戰問題,並為用戶設置挑戰問題。

如果您使用存儲在/_system/config/repository/components/org.wso2.carbon.identity.mgt/questionCollection位置的問題,現在您需要在 IS-6.0.0 中使用 REST API,最好移動使用https://github.com/wso2/identity-api-server/blob/master/components/org.wso2.carbon.identity.api.server.challenge/org.wso2.carbon.identity 向正確的地方提問。 rest.api.server.challenge.v1/src/main/resources/challenge.yaml t API/管理控制台根據當前題目的questionSetId

在此處輸入圖像描述

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

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