• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






天生自然

 
 

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 吴裕雄 阅读(74) 评论(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 吴裕雄 阅读(70) 评论(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 吴裕雄 阅读(32) 评论(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 吴裕雄 阅读(267) 评论(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 吴裕雄 阅读(175) 评论(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 吴裕雄 阅读(66) 评论(0) 推荐(0)
 
通过Security提供的SecurityContextHolder获取登录用户信息
摘要: /** * 通过Security提供的SecurityContextHolder获取登录用户信息 */ @GetMapping("/getuserByContext") @ResponseBody public void getUser2() { // 获取应用上下文 SecurityContext 阅读全文
posted @ 2022-02-20 15:21 吴裕雄 阅读(596) 评论(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 吴裕雄 阅读(650) 评论(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 吴裕雄 阅读(106) 评论(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 吴裕雄 阅读(65) 评论(0) 推荐(0)
 
上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 276 下一页