Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用 spring security 作为我的安全框架,但是当我更改一些用户权限时,我必须重新启动我的应用程序服务器(Tomcat)才能让它工作,有没有其他方法可以在不重新启动应用程序服务器的情况下刷新权限?也许 Spring Security 提供了一些我不知道的 API?
谢谢你的帮助!
我建议您将登录名、密码和角色信息存储在数据库中,JdbcDetailsService 并在 xml 中使用和配置用于身份验证和授权的 sql 语句
JdbcDetailsService