ScienJus/spring-restful-authorization
这个 Demo 用于演示如何在 RESTful 下使用自定义 Token 保持客户端登录状态,依靠 Spring 的拦截器和解析器完成权限验证及登录用户注入,并使用 Redis 存储 Token。
Java
Issues
- 1
- 1
关于鉴权,是什么时候存入的?
#10 opened by fdjkpoi - 2
setRedis in com.humei.authorization.manager.imp.RedisTokenManager required a single bean, but 2 were found: - redisTemplate: defined by method 'redisTemplate' in class path resource [org/springframework/boot/autoconfigure/data/redis/RedisAutoConfiguration$RedisConfiguration.class] - stringRedisTemplate: defined by method 'stringRedisTemplate' in class path resource [org/springframework/boot/autoconfigure/data/redis/RedisAutoConfiguration$RedisConfiguration.class]
#6 opened by timothyadam - 1
小白提问,关于该Demo请求拦截方面。
#7 opened by stonHouse - 3
前后端分离的架构,客户端如何登陆?
#5 opened by wangjia2016 - 0
Spring Data Repositories 的配置
#8 opened by wxffly - 4
重复登录的时候会再次创建token
#4 opened by Cenheen - 0
在解析器中取不到拦截器中设置的attribute
#3 opened by yapple - 0
key和token乱用,把格式化好的token用作key,请为你的变量起个好名字
#2 opened by totemtec - 4