簡體   English   中英

查找 6.0.0 版本的 WSO2 身份服務器的 SOAP API 的替代品

[英]Finding the replacement of the SOAP APIs for WSO2 identity server for 6.0.0 version

作為 WSO2 身份服務器 6.0.0 的一部分,SOAP API 已棄用,建議使用基於 REST 的 API。 We are using RemoteUserStoreManagerService.wsdl and UserIdentityManagementAdminService.wsdl SOAP APIs in our project, want to replace the SOAP APIs with recommended REST APIs. Can you help us to find the list of REST APIs to replace RemoteUserStoreManagerService.wsdl and UserIdentityManagementAdminService.wsdl SOAP APIs. API 文檔不清楚。

我們無法找到特定於用戶的索賠管理 API 的替代品。為索賠管理提供的 API 不是特定於用戶的,我們希望通過在請求中傳遞用戶名或用戶 ID 來檢索/創建/刪除索賠有效載荷。 您能否提供可用於索賠管理的此類 API 的詳細信息。

The REST API that you have mentioned matches the ClaimMetadataManagementService.wsdl https://is.docs.wso2.com/en/5.11.0/develop/managing-claims-with-apis/

The only available REST API to manage user claims (retrieving, updating, deleting) is SCIM 2.0 Users APIs https://is.docs.wso2.com/en/latest/apis/scim2-rest-apis/#/Users%20Endpoint /getUser

您必須記住的是,SCIM 是一種用於用戶管理的協議。 即使您在 SOAP 服務中直接使用本地聲明 URI 來管理用戶聲明,但在 SCIM API 調用中,您必須使用映射到本地聲明的相應 SCIM 聲明。

通過導航到管理控制台 -> 主 -> 身份 -> 聲明 -> 列表來檢查 SCIM 聲明方言。 在那里您可以找到 SCIM 聲明到本地聲明的映射

例如:獲取特定用戶名、用戶名聲明。 需要的屬性應該添加到基於 SCIM 協議的屬性參數中:

GET https://localhost:9443/scim2/Users/<user-id>?attributes=username,name

Add user claims: Refer https://is.docs.wso2.com/en/latest/apis/scim2-patch-operations/#add-user-attributes and https://medium.com/p/1c43bb218658

Delete user claims: Refer https://is.docs.wso2.com/en/latest/apis/scim2-patch-operations/#remove-user-attributes and https://medium.com/p/1c43bb218658

這里提出了一個類似的問題。 檢查第一個答案。

您提到的文檔是一般管理索賠的文件。 請參閱介紹段落。

API 概述頁面包含有關您需要的所有 API 的所有信息。 下圖顯示了管理用戶、角色和組所需的 API(比您在問題中提出的更多)。

在此處輸入圖像描述

注意:最好不要使用 SCIM1.1

暫無
暫無

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

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