Wso2 API Manager商店中锁定的帐户&;Publisher 2.1.0

Wso2 API Manager商店中锁定的帐户&;Publisher 2.1.0,wso2,wso2is,wso2-am,wso2carbon,Wso2,Wso2is,Wso2 Am,Wso2carbon,在对API存储和API发布服务器进行了一定次数的失败登录尝试后,是否有办法锁定用户帐户?我已经在FAQAPI管理器中进行了检查,但随后文档重定向到Identity Server文件 有没有办法解决这个问题 谢谢。您可以在APIM_HOME/repository/conf/identity/identity-mgt.properties文件中更改以下属性 Authentication.Policy.Account.Lock.On.Failure.Max.truments 您应该首先在WSO2 AP

在对API存储和API发布服务器进行了一定次数的失败登录尝试后,是否有办法锁定用户帐户?我已经在FAQAPI管理器中进行了检查,但随后文档重定向到Identity Server文件

有没有办法解决这个问题


谢谢。

您可以在APIM_HOME/repository/conf/identity/identity-mgt.properties文件中更改以下属性

Authentication.Policy.Account.Lock.On.Failure.Max.truments


您应该首先在WSO2 API管理器中安装以下标识功能

帐户恢复和凭据管理

版本:5.7.5

然后,您将在/repository/conf/identity目录中获得identity-mgt.properties文件

通过将以下属性值更改为首选数字,您可以在多次尝试后实现帐户锁定

Authentication.Policy.Account.Lock.On.Failure.Max.truments=0

注意: 要安装上述功能

  • 登录API Manager 2.1.0的管理控制台(httpso://localhost:9443/carbon)
  • 转到配置>功能>存储库管理并添加以下存储库。
  • 然后搜索“帐户恢复和凭据管理功能”
  • 选择并安装版本5.7.5,如下所示
  • 重新启动服务器

但API Manager 2.1.0中的文件夹中没有此属性。
Authentication.Policy.Password.Expire.Time=0
# If account verification is not enabled, following property will decide where user must be lock or not after user is created 
Authentication.Policy.Account.Lock.On.Creation=false
Authentication.Policy.Account.Lock.Time=0
Authentication.Policy.Account.Lock.On.Failure=false
Authentication.Policy.Account.Lock.On.Failure.Max.Attempts=0