会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
mangoubiubiu
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
9
10
11
12
13
14
15
16
17
···
44
下一页
2022年5月2日
循环依赖 The dependencies of some of the beans in the application context form a cycle:
摘要: 1 报错信息 2 解决方案 检查发现 在 SysUserServiceImpl 依赖注入 了 一个 SysMenuService 在SysMenuServiceImpl 里面又去依赖注入了一个 SysUserService 依赖注入循环 3 删掉单方面的一个即可启动成功
阅读全文
posted @ 2022-05-02 15:55 KwFruit
阅读(432)
评论(0)
推荐(0)
2022年5月1日
SpringSecurity 报错 Bad credentials
摘要: 1 、解决方案 一般是密码匹配错了,如果确认密码是对的还是报错 , 看看 将密码给SpringSecurity 托管验证的时候是否导错包 导成默认实现的类 UserDetailsService 时会也报这个错
阅读全文
posted @ 2022-05-01 20:44 KwFruit
阅读(1952)
评论(0)
推荐(0)
2022年4月30日
Spring Security-从入门到精通- 访问控制 url 匹配及 内置访问控制方法介绍
摘要: 一、 访问控制 url 匹配制 在前面讲解了认证中所有常用配置,主要是对 http.formLogin()进行操作。而在配置类中 http.authorizeRequests()主要是对 url 进行控制,也就是我们所说的授权(访问控制)。http.authorizeRequests()也支持连缀写
阅读全文
posted @ 2022-04-30 23:30 KwFruit
阅读(391)
评论(0)
推荐(0)
Spring Security-从入门到精通-自定义登录成功/失败 url
摘要: 要想调到项目外部的链接该如何做 1 源码解析 一、点击successForwardUrl 二、在FormLoginConfigurer里面发现 用successHandler()这个方法做的跳转 三、点进ForwardAuthenticationSuccessHandler 发现 其实现了Authe
阅读全文
posted @ 2022-04-30 23:25 KwFruit
阅读(298)
评论(0)
推荐(0)
Spring Security-从入门到精通-登录失败页面跳转+自定义登录参数
摘要: 1 SecurityConfig配置类 package com.mangoubiubiu.security.config; import org.springframework.context.annotation.Bean; import org.springframework.context.a
阅读全文
posted @ 2022-04-30 23:22 KwFruit
阅读(295)
评论(0)
推荐(0)
Spring Security-从入门到精通-自定义登录逻辑
摘要: 1、将BCryptPasswordEncoder 注入到ioc容器里面 package com.mangoubiubiu.security.config; import org.springframework.context.annotation.Bean; import org.springfra
阅读全文
posted @ 2022-04-30 23:20 KwFruit
阅读(139)
评论(0)
推荐(0)
Spring Security-从入门到精通-PasswordEncoder详解
摘要: PasswordEncoder接口 PasswordEncoder是一个密码解析器 Spring Security封装了如bcrypt, PBKDF2, scrypt, Argon2等主流适应性单向加密方法( adaptive one-way functions),用以进行密码存储和校验。单向校验安
阅读全文
posted @ 2022-04-30 23:18 KwFruit
阅读(286)
评论(0)
推荐(0)
2022年4月28日
vue集成mock.js 404
摘要: 1、解决方案 链接写全就能访问到 success
阅读全文
posted @ 2022-04-28 22:23 KwFruit
阅读(247)
评论(0)
推荐(0)
2022年4月27日
Spring Cloud OAuth2中访问/oauth/token报401 Unauthorized问题的解决(POSTMAN)
摘要: 一 、报错信息 { "timestamp": "2022-04-27T13:58:47.916+0000", "status": 401, "error": "Unauthorized", "message": "Unauthorized", "path": "/oauth/token" } 二、解
阅读全文
posted @ 2022-04-27 22:06 KwFruit
阅读(5717)
评论(0)
推荐(1)
2022年4月26日
java.lang.ClassNotFoundException: org.springframework.boot.context.properties.ConfigurationBeanFactoryMetadata
摘要: 1、错误信息 "C:\Program Files\Java\jdk1.8.0_202\bin\java.exe" -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jm
阅读全文
posted @ 2022-04-26 22:29 KwFruit
阅读(8227)
评论(0)
推荐(1)
上一页
1
···
9
10
11
12
13
14
15
16
17
···
44
下一页
公告