Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/performance/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
无法根据WSO2 SCIM REST api中的筛选器搜索用户名_Wso2_Wso2is - Fatal编程技术网

无法根据WSO2 SCIM REST api中的筛选器搜索用户名

无法根据WSO2 SCIM REST api中的筛选器搜索用户名,wso2,wso2is,Wso2,Wso2is,我是WSO2 Identity Server-5.11.0的新手,我想使用scim api基于用户名搜索用户,但对我来说没有任何效果 https://localhost:9443/wso2/scim/Users?userNameEqadmin@wso2.com https://localhost:9443/wso2/scim/Users?filter=userNameEqadmin@wso2.com https://localhost:9443/wso2/scim/Users?filter=us

我是WSO2 Identity Server-5.11.0的新手,我想使用scim api基于用户名搜索用户,但对我来说没有任何效果

https://localhost:9443/wso2/scim/Users?userNameEqadmin@wso2.com
https://localhost:9443/wso2/scim/Users?filter=userNameEqadmin@wso2.com
https://localhost:9443/wso2/scim/Users?filter=userName=admin@wso2.com
https://localhost:9443/wso2/scim/Users?filter=userName Eq admin@wso2.com
https://localhost:9443/wso2/scim/Users?filter=username=admin@wso2.com
https://localhost:9443/wso2/scim/Users?filter=usernameEqadmin@wso2.com

有人能建议使用合适的搜索条件吗?

看来您已经使用了SCIM 1.0协议。 最好使用SCIM 2.0,因为最新版本的IS支持SCIM 2.0 参考:

因此,基于精确用户名匹配的用户筛选的正确SCIM请求是:

https://localhost:9443/scim2/Users?filter=userName 情商admin@wso2.com

即使上述请求不能满足您的查询

请验证您是否按照相同的顺序执行了中的所有步骤

特别是,如果您错过了这一步,您将无法通过发送电子邮件从用户名中过滤

Login to the management console and configure the Mapped Attribute property of the http://wso2.org/claims/username claim ID that is under Dialect dialectURI http://wso2.org/claims to mail.

以下是搜索条件,[user\u store]user\u name\u attribute=“mail”user\u name\u search\u filter=“(&;(objectClass=person)(mail=?)“user\u name\u list\u filter=“(&;(objectClass=person)(!(sn=Service))“username\u java\u script\u regex=”^[a-zA-Z0-9.-+[a-zA-Z0-9.-+\+.+.[a-zA-zA-Z]{-2,4}$'username\U-java-U-regex=[a-Z09.-zA.-]{2,4}的一些改进:我能够使用Eq admin,无论它对电子邮件不起作用,在回复时我都会得到{“totalResults”:1,“schemas”:[“urn:scim:schemas:core:1.0”],“Resources”:[{“meta”:{“location”:“},id”:“fed8c7c9-9505-4494-a170-628a5660d492”,“用户名”:admin@wso2.com“}]}谢谢这个解决方案能起作用,出于好奇,这是只通过进入用户界面进行的更改,还是有任何文件(json)可以将其合并。很抱歉,我没有收到您的问题,这一步”登录到管理控制台并配置声明ID的Mapped Attribute属性,该属性位于“URI to mail.Share”下,正如您所提到的,可以通过更新任何json文件而不是通过UI手动进行自动化。