springSecurity SpringCloud 【3】 Nacos启动 and 编写工具类

redis自己启动

nacos:

根目录->bin->start.cmd

默认是8848

访问/nacos即可。

 

代码放码云了:

主要是这几段:

1.工具类:

 

 

2.密码处理类(JWT、退出、密码加密)

流程:生成JWT,密码加密,REIDS存储,REDIS删除。

 

 

码云:https://gitee.com/bi-hu/studySecuruty

posted @ 2022-06-14 10:57  咸瑜  阅读(77)  评论(0编辑  收藏  举报