Easter79 Easter79
3年前
spring的cglib代理
!(https://oscimg.oschina.net/oscnet/39072f37d8fc12c73c3178fa6b930237b7d.png)1、被代理类Person.java1packagecom.xiaostudy;23/4
Easter79 Easter79
3年前
spring集成多个rabbitMQ
转自:https://blog.csdn.net/zz775854904/article/details/81092892MQ全称为MessageQueue, 消息队列(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fbaike.baidu.com%2Fview%2F262473.h
Wesley13 Wesley13
3年前
Spring AOP学习(三)
前面已经对SpringAOP做了个简单介绍,今天来分析一下SpringAOP的原理JDK和Cglib代理。SpringAOP的原理分为三部分,概述、设计模式和实现,见下图:!AOP原理(https://static.oschina.net/uploads/space/2017/1015/172244_ruIz_3696939.png
Stella981 Stella981
3年前
Spring Security教程(一)
一概要SpringSecurity,这是一种基于SpringAOP和Servlet过滤器的安全框架。它提供全面的安全性解决方案,同时在Web请求级和方法调用级处理身份确认和授权。这里过多的springsecurity解释和作用就不在这里赘述了,请自行搜索。目前最新版本的SpringSecurity为4.2.2,但是我这里用
Stella981 Stella981
3年前
Spring Cloud Config Client
SpringCloudConfigClient<parent<groupIdorg.springframework.cloud</groupId<artifactIdspringcloudstarterparent</artifactId<versionAngel.SR4</version</parent
Stella981 Stella981
3年前
Spring Data Interceptor EventListener
一下代码纯属个人项目应用不喜勿喷。参考链接所有拦截器以及触发器http://blog.csdn.net/ljhabc1982/article/details/6319251Interceptor加入到程序应用当中(配置)第一步继承拦截器importorg.hibernate.EmptyInterceptor;importorg
Stella981 Stella981
3年前
Spring Cloud升级之路
针对网关非Get请求的重试在之前的系列里面SpringCloud升级之路Hoxton5.实现微服务调用重试(https://my.oschina.net/u/3747772/blog/4301365),我们针对OpenFeign和SpringCloudGateway都设置了重试。对于
Stella981 Stella981
3年前
Spring seucrity 新坑
https://spring.io/blog/2020/04/15/announcingthespringauthorizationserver(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fspring.io%2Fblog%2F2020%2F04%2F15%2Fannounc
Stella981 Stella981
3年前
Spring Cloud云架构
前面几篇我们已经介绍了SpringCloud和oauth2的知识点,今天我们要利用SpringCloud和oauth2进行commonservicesso服务搭建,本节我们只是搭建commonservicesso的基础平台,闲话少说,直接将步骤记录下来:1\.创建maven项目commonservicesso,其中pom.xml文件配置如下:
Stella981 Stella981
3年前
Spring Security 文档翻译
2\.核心服务既然你对SpringSecurity的架构以及它的核心类有了更高的认识,让我们更近一步来看看其中的一两个核心接口和实现,尤其是"AuthenticationManager","UserDetailsService"和“AccessDecisionManager”。这些经常出现在本文档的其余部分所以知道它们是如