Demo地址:
https://github.com/GodwinGodwin/redisauth.git
使用cookie+redis方式token权鉴

常量

常量

cookie工具类

权限校验

verificatePermissions

controller

controller中的test()

controller中的login()

controller中的logout()

权限测试时用到的方法

html页面

test.html页面
https://github.com/GodwinGodwin/redisauth.git
使用cookie+redis方式token权鉴