会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
咸瑜
无限风光在险峰
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
5
6
7
8
9
10
11
12
13
···
73
下一页
2022年6月16日
pringSecurity SpringCloud 【7】 编写UserDetailService
摘要: 因为要查询到数据库,看账号密码: 编写UserDetailService gitee:https://gitee.com/bi-hu/studySecuruty
阅读全文
posted @ 2022-06-16 09:02 咸瑜
阅读(50)
评论(0)
推荐(0)
2022年6月15日
pringSecurity SpringCloud 【6】 编写核心配置类
摘要: SpringSecurity 编写核心配置类 gitee:https://gitee.com/bi-hu/studySecuruty 详细看GET ,后面应该会修改 其实里面就重写了三个点: 1. /** * 配置认证管理器 *///设置退出的url和token,redis操作地址 2 //调用us
阅读全文
posted @ 2022-06-15 17:42 咸瑜
阅读(51)
评论(0)
推荐(0)
pringSecurity SpringCloud 【5】 编写授权过滤器
摘要: gitee:https://gitee.com/bi-hu/studySecuruty 编写授权过滤器:
阅读全文
posted @ 2022-06-15 17:07 咸瑜
阅读(26)
评论(0)
推荐(0)
pringSecurity SpringCloud 【4】 编写Secutity认证过滤器
摘要: gitee:https://gitee.com/bi-hu/studySecuruty 编写Secutity认证过滤器 主要写了下面四个文件“ ” 步骤: 1认证的过滤器: 2.未授权统一处理 3。用到的实体类:
阅读全文
posted @ 2022-06-15 16:26 咸瑜
阅读(32)
评论(0)
推荐(0)
2022年6月14日
Git IDEA操作
摘要: 不想手动去Git init 初始化的话,那就 排除上传: New File : 工作空间add到暂存区:【下面颜色按白色主题】 选择项目、文件,右键,Git,add【添加到暂存区文件】 ,然后文件变绿色 选择项目右键commit,提交到版本库,那么文件变黑色 更改文件,内容和版本库不一致,文件变蓝色
阅读全文
posted @ 2022-06-14 15:13 咸瑜
阅读(32)
评论(0)
推荐(0)
springSecurity SpringCloud 【3】 Nacos启动 and 编写工具类
摘要: redis自己启动 nacos: 根目录->bin->start.cmd 默认是8848 访问/nacos即可。 代码放码云了: 主要是这几段: 1.工具类: 2.密码处理类(JWT、退出、密码加密) 流程:生成JWT,密码加密,REIDS存储,REDIS删除。 码云:https://gitee.c
阅读全文
posted @ 2022-06-14 10:57 咸瑜
阅读(84)
评论(0)
推荐(0)
token 模板s
摘要: 1: package com.bihu.security.security; import io.jsonwebtoken.CompressionCodecs; import io.jsonwebtoken.Jwts; import io.jsonwebtoken.SignatureAlgorith
阅读全文
posted @ 2022-06-14 10:56 咸瑜
阅读(27)
评论(0)
推荐(0)
redis 入门基本
摘要: 启动临时服务:redis-server.exe redis.windows.conf,如果出现一个方形图标,安装临时服务成功。 如果: 我们不可能每次要用Redis都去开一下临时服务,可不可以跟其它服务一样能够开机自启?进入Redis安装包文件下,敲入命令注册服务:redis-server.exe
阅读全文
posted @ 2022-06-14 10:11 咸瑜
阅读(33)
评论(0)
推荐(0)
springSecurity SpringCloud 【2】 依赖
摘要: common用到的依赖: <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> <scope>provided<
阅读全文
posted @ 2022-06-14 09:41 咸瑜
阅读(86)
评论(0)
推荐(0)
2022年6月13日
springSecurity SpringCloud 【1】
摘要: 网关 geteway nacos redis ... 结构如下 当时定义父Maven版本: 如果Swagger冲突,那么百度匹配版本即可。 用到的依赖: <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <
阅读全文
posted @ 2022-06-13 20:03 咸瑜
阅读(23)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
11
12
13
···
73
下一页
公告