会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
天生自然
Powered by
博客园
博客园
|
首页
|
新随笔
|
联系
|
订阅
|
管理
2022年2月20日
RabbitMQ 基于API的方式发送和消费消息
摘要: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/P
阅读全文
posted @ 2022-02-20 23:54 吴裕雄
阅读(235)
评论(0)
推荐(0)
编辑
Security 前端页面配置
摘要: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/P
阅读全文
posted @ 2022-02-20 23:05 吴裕雄
阅读(162)
评论(0)
推荐(0)
编辑
开启使用Tonken记住我功能
摘要: package com.itheima.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.config.annotation.authe
阅读全文
posted @ 2022-02-20 16:09 吴裕雄
阅读(56)
评论(0)
推荐(0)
编辑
通过Security提供的SecurityContextHolder获取登录用户信息
摘要: /** * 通过Security提供的SecurityContextHolder获取登录用户信息 */ @GetMapping("/getuserByContext") @ResponseBody public void getUser2() { // 获取应用上下文 SecurityContext
阅读全文
posted @ 2022-02-20 15:21 吴裕雄
阅读(551)
评论(0)
推荐(0)
编辑
使用HttpSession获取用户信息
摘要: package com.itheima.controller; import java.util.Enumeration; import javax.servlet.http.HttpSession; import org.springframework.security.core.Authenti
阅读全文
posted @ 2022-02-20 14:56 吴裕雄
阅读(605)
评论(0)
推荐(0)
编辑
退出账号
摘要: package com.itheima.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.config.annotation.authe
阅读全文
posted @ 2022-02-20 14:29 吴裕雄
阅读(96)
评论(0)
推荐(0)
编辑
自定义用户登录跳转
摘要: <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"> <head> <meta http-equiv="Content-Type" content="text/h
阅读全文
posted @ 2022-02-20 14:04 吴裕雄
阅读(54)
评论(0)
推荐(0)
编辑
自定义用户访问控制
摘要: package com.itheima.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.config.annotation.authe
阅读全文
posted @ 2022-02-20 13:25 吴裕雄
阅读(34)
评论(0)
推荐(0)
编辑
使用UserDetailsService进行身份验证
摘要: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/P
阅读全文
posted @ 2022-02-20 11:55 吴裕雄
阅读(609)
评论(0)
推荐(0)
编辑
使用JDBC进行身份认证
摘要: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/P
阅读全文
posted @ 2022-02-20 09:16 吴裕雄
阅读(223)
评论(0)
推荐(0)
编辑
使用内存进行身份验证
摘要: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/P
阅读全文
posted @ 2022-02-20 08:47 吴裕雄
阅读(48)
评论(0)
推荐(0)
编辑
Spring Boot 中英API文档
摘要: http://felord.cn/_doc/_springboot/2.1.5.RELEASE/_book/ https://docs.spring.io/spring-boot/docs/current/api/ https://geekdoc.top/docs/languages/java/sp
阅读全文
posted @ 2022-02-20 08:40 吴裕雄
阅读(570)
评论(0)
推荐(0)
编辑
开启安全管理
摘要: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/P
阅读全文
posted @ 2022-02-20 07:58 吴裕雄
阅读(33)
评论(0)
推荐(0)
编辑