【发布时间】:2019-09-17 06:05:24
【问题描述】:
我想记录到达 wso2/idp 服务器的 scim 请求(成功、失败)。我关注了 [https://docs.wso2.com/display/IS530/Logging+Claims+in+Audit+Logs],但 repository\logs\audit.log 仍然不包含任何额外的记录,除了当天的一行:
'admin@carbon.super [-1234]' 在[2019-09-17 10:45:23 登录......
我还在 identity.xml 中添加了以下内容,希望能够记录一些内容..
http://wso2.org/claims/username
http://wso2.org/claims/userid
http://wso2.org/claims/country
http://wso2.org/claims/fullname
http://wso2.org/claims/identity/failedLoginAttempts
http://wso2.org/claims/displayName
但是,尚未记录任何 scim 请求。我的 scim 请求都可以正常工作,除了日志记录。
curl -v -k --user admin:admin https://localhost:9443/wso2/scim/Users/48f7cfe5-f0e3-4a67-af7e-d762aa9ab215
【问题讨论】: