我正在使用WSO2 IS 4.1.0。当尝试使用SCIM分配角色时,我在服务器日志中收到以下消息。
[2013-05-05 22:28:58,481] INFO {org.wso2.carbon.identity.scim.provider.impl.SCIMUserManager} - User: dinuka is created through SCIM.
它不是为用户分配角色,而是始终分配角色“每个人”。
以下是我发布到WSO2 IS的JSON
{"schemas":[],"userName":"chaminda","password":"pissek","name":{"familyName":"Gunawardena","givenName":"chaminda"},"emails":[{"primary":"true","value":"lc2002lk@yahoo.com","type":"home"}],"addresses":{"streetAddress":"Test
Address1","formatted":"Test
Address2","locality":"Galle","region":"Shouthern","country":"Sri
Lanka","postalCode":"8000"},"phoneNumbers":[{"primary":"true","value":"0094
714 209 800","type":"work"}],"displayName":"Test
Display","title":"Tech. Lead","roles":["admin"]}
用户创建成功,但从未分配给给定角色。