怎样设置ADSSP并发登录的数量?

怎样设置ADSSP并发登录的数量?

问题描述:今天在客户现场测试的时候发生了此类问题,当超过10个用户同时登陆的时候多余的用户会发生无法访问的问题,查看日志后有这样的描述:The request is locked for throttle violation. ViolatedTimePeriod (H:M:S:MS): [10:27:44:254 - 10:28:15:333], Violated time (H:M:S:MS): 10:28:15:333, CurrentRequestArrivalTime (H:M:S:MS): 10:28:15:333, AccessCountTakenFromStartTimeFrame / StartTimeFrameAccessCount : 0 / 1, ConsumedDuration (ms) ≈ 31,079, LockReleaseAt: 10:29:15:333, RemainingLockPeriod (ms) / TotalLockPeriod (ms) : 60,000 / 60,000, hipCode: null, hipDigest: null, ViolatedThrottleRule: Key: "url.path+user.remoteip", window: "ROLLING", scope: "APPSERVER", timeLogIntervalDuration: "1000 sec"]., ViolatedThrottlesRule: RollingWindowThrottleRule:: Duration: 60000, Threshold: 10, LockPeriod: 60000, Hip: false, WatchTime: -1, ViolationLimit: -1, LockFactor: -1.|

 

解决方案:
1.浏览到ManageEngine\ADSelfService Plus\webapps\adssp\WEB-INF\security,编辑security.xml文件

2.搜索threshold,将值改为希望设定的值,最大值不超过10000。由于每个threshold对应不同的页面,所以建议都修改为希望设定的值。

3.重启ADSSP服务。