会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
天生自然
Powered by
博客园
博客园
|
首页
|
新随笔
|
联系
|
订阅
|
管理
上一页
1
···
33
34
35
36
37
38
39
40
41
···
276
下一页
2022年2月21日
Routing路由模式实现消息发送和消费
摘要: package com.itheima.service; import org.springframework.amqp.core.Message; import org.springframework.amqp.rabbit.annotation.Exchange; import org.spri
阅读全文
posted @ 2022-02-21 12:01 吴裕雄
阅读(63)
评论(0)
推荐(0)
编辑
基于注解的方式发送和订阅消费消息
摘要: package com.itheima.service; import org.springframework.amqp.core.Message; import org.springframework.amqp.rabbit.annotation.Exchange; import org.spri
阅读全文
posted @ 2022-02-21 11:42 吴裕雄
阅读(53)
评论(0)
推荐(0)
编辑
基于配置类的方式发送和订阅消费消息
摘要: package com.itheima.config; import org.springframework.amqp.core.*; import org.springframework.amqp.support.converter.Jackson2JsonMessageConverter; im
阅读全文
posted @ 2022-02-21 11:25 吴裕雄
阅读(22)
评论(0)
推荐(0)
编辑
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)
编辑
上一页
1
···
33
34
35
36
37
38
39
40
41
···
276
下一页