zoukankan      html  css  js  c++  java
  • 利用web.config设置用户不被锁定

    下边是web.config中的一段,其中的 maxInvalidPasswordAttempts="3" 是输入错误密码时允许的最大次数,可以修改为10000,或更多。

    <configuration>
    <connectionStrings>
    <add name="ADService" connectionString="LDAP://ldapServer/" />
    </connectionStrings>
    <system.web>
    <membership defaultProvider="AspNetActiveDirectoryMembershipProvider">
    <providers>
    <add name="AspNetActiveDirectoryMembershipProvider"
    type="System.Web.Security.ActiveDirectoryMembershipProvider,
    System.Web, Version=2.0.3600, Culture=neutral,
    PublicKeyToken=b03f5f7f11d50a3a"
    maxInvalidPasswordAttempts="3"
    passwordAttemptWindow="10"
    passwordAnswerAttemptLockoutDuration="15" />
    </providers>
    </membership>
    </system.web>
    </configuration>
  • 相关阅读:
    Python Day23
    Python Day22
    Python Day21
    Python Day20
    Python Day19
    Python Day18
    Python Day17
    Python Day15
    Appium python unittest pageobject如何实现加载多个case
    Appium python Uiautomator2 多进程问题
  • 原文地址:https://www.cnblogs.com/fbb/p/767824.html
Copyright © 2011-2022 走看看