学习spring+maven+token心得。

这个文章主要是针对这个demo。

https://github.com/ScienJus/spring-authorization-manager-demo

将这个demo导入到eclipseEE,右键点击工程,“Run As” -》 “Run On Server” -》第一次使用的时候需要配置tomcat,这个时候选择ubuntu安装的tomcat。


https://github.com/ScienJus/spring-authorization-manager

这个demo的readme说的两个存储方式:redis和数据库,两个选一个,默认是redis方法。

  <!--Redis依赖,只有在使用RedisTokenManager时才需要-->
  <!--数据库依赖,只有在使用MySQLTokenManager时才需要-->


将上面两个demo放在同一个文件夹,用eclipse打开上面两个工程



目前还没有调通。。。。。。。。


猜你喜欢

转载自blog.csdn.net/gs344937933/article/details/80650642