![](/img/trans.png)
[英]Finding Replacement SOAP APIs for WSO2 identity server for 6.0.0 version
[英]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
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.