spring-authorization-manager
spring-authorization-manager copied to clipboard
基于 Spring MVC,提供 API 服务端的身份验证功能。通过 Redis、MySQL 维护登录用户与分配 Token 的映射关系。
封装好的工具库有源码更新吗
@Authorization public @ResponseBody ApiResponse createPlanTmp(@CurrentUser Client client, 没有进入resolveArgument 方法去注入用户 拦截是正常的
1)需要首先下载spring-authorization-manager,将这个jar添加到你的maven私服或本地仓库。下载不下来,能否提供一份。邮箱:[email protected] 2) 作者目前提供的代码中没有找到RedisTokenManager类中的tokenExpireSeconds、jedisPool 两个属性,怎么通过属性注入的。是否作者没有更新代码?
发现bug, Mysql实现token的链接数据库中,没有关闭掉数据源的连接,存在该bug
请问能否加入sessionID?