wj596 / jsets-shiro-demo Goto Github PK
View Code? Open in Web Editor NEWjsets-shiro-spring-boot-starter示例项目
License: Apache License 2.0
jsets-shiro-spring-boot-starter示例项目
License: Apache License 2.0
阅读了源代码,发现token是通过param传递的,是不是可以支持一下通过header传递?
解除锁定之后如果再输入一次错误的密码则直接会被锁定。这个是不是需要把错误次数也清空。
PR就不推了,大家如果有类似的需求可以参考修改。
在ShiroUtils.java的这一行
shiroConfig().getRealms().stream()
.filter(r -> (r instanceof CachingRealm) && ((CachingRealm) r).isCachingEnabled())
.forEach(r -> shiroConfig().getCacheDelegator().clearAuthCache(account, r.getName()));
改成
shiroConfig().getRealms().stream()
.filter(r -> (r instanceof CachingRealm) && ((CachingRealm) r).isCachingEnabled())
.forEach(r -> {
shiroConfig().getCacheDelegator().clearAuthCache(account, r.getName());
shiroConfig().getCacheDelegator().cleanPasswdRetryCount(account);
});
RT,没有这个文件,请上传一下
一直用户名或者密码错误,登录不进去
“项目中使用的jsets-jdbc-spring-boot-starter-1.0.0.jar、jsets-shiro-spring-boot-starter-1.0.2.jar您可以下载后传到本地仓库。”为什么要依赖同一个项目的两个版本,改成一个不行吗?
假如角色管理菜单没有分配给任何的角色,则角色管理菜单的公开的,是这样吗?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.