2014-02-14 68 views
2

我想知道是否可以通过UserAdmin SOAP接口检索用户声明?我发现添加用户时可以指定用户声明。另外我注意到通过索赔获得用户列表是可能的,但我还没有找到如何检索用户的所有索赔。WSO2 Identity Server UserAdmin SOAP接口

任何提示?

在此先感谢。

回答

1

您可以尝试“RemoteUserStoreManagerService”用于您的目的。

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://service.ws.um.carbon.wso2.org"> 
    <soapenv:Header/> 
    <soapenv:Body> 
     <ser:getUserClaimValues> 
     <ser:userName>admin</ser:userName> 
     </ser:getUserClaimValues> 
    </soapenv:Body> 
</soapenv:Envelope> 

以上要求将返回您的管理员用户的默认配置文件的声明。


编辑

按照你需要新的管理服务的WSDL的注释。

默认情况下管理服务的WSDL是隐藏的。要更改该行为,请打开<IS_HOME>/repository/conf/carbon.xml,然后找到HideAdminServiceWSDLs标记并将其设置为false

然后你可以从网址

https://localhost:9443/services/<SERVICE_NAME>?wsdl 

查看任何管理服务的WSDL在这种情况下

https://localhost:9443/services/RemoteUserStoreManagerService?wsdl 

HTH,

DarRay,

+0

你有一个WSDL这个?它不是UserAdmin WSDL的一部分?谢谢 – yannb

+0

这是一个单独的管理服务。根据您的评论我已更新了答案 – DarRay

相关问题