简体   繁体   English

帐户锁定在WSO2 Identity Server 5.0.0中不起作用

[英]Account Locking Not Working in WSO2 Identity Server 5.0.0

I tired to lock user account using the admin console UI as described in http://isurad.blogspot.com/2014/09/how-to-lock-user-account-in-wso2.html . 我厌倦了使用管理控制台用户界面锁定用户帐户,如http://isurad.blogspot.com/2014/09/how-to-lock-user-account-in-wso2.html中所述 I made http://wso2.org/claims/identity/accountLocked = true. 我使http://wso2.org/claims/identity/accountLocked = true。 But still I can log in to the console using locked account. 但是我仍然可以使用锁定帐户登录控制台。

Also tried to lock user account using the web service. 还尝试使用Web服务锁定用户帐户。 Even this prints in the console, 即使在控制台上打印,

{org.wso2.carbon.identity.mgt.services.UserIdentityManagementAdminService} -  User account unconfirmed1 locked 

Still I can log in to the console using locked account. 仍然可以使用锁定帐户登录控制台。 What has gone wrong here? 这里出了什么问题?

The operation via the admin console is cached and is currently set to 15 mins. 通过管理控制台进行的操作已被缓存,当前设置为15分钟。 Hence the account lock should have worked but you need to wait 15 mins for this to come into effect. 因此,帐户锁定应该已经生效,但是您需要等待15分钟才能生效。 The web service calls should be immediate though. Web服务调用应该是立即的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM