修正KickoutSessionControlFilter队列添加sessionId后刷新到缓存中 #47
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
开涛大神你好,在使用您的shiro框架时,通过自定义过滤器KickoutSessionControlFilter控制并发在线人数这一功能。我发现使用您的18章用例中的KickoutSessionControlFilter类,并未能实现控制。
现经过个人从代码上的观察调试,发现需要加上部分代码,在加上我自己写的代码后,才使得控制生效。希望您看到后,能审查一下,我所添加部分代码是否正确。。
如果没有问题,希望能并入更新至您的git项目之中,谢谢!!!
如有任何问题,可以通过邮箱[email protected]联系到我,再次致谢!