会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
gsluofu
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
5
···
8
下一页
2025年5月14日
AOP
摘要: 在AOP(Aspect Oriented Programming,面向切面编程)中,切面、切点和通知是三个核心概念,它们的含义如下: 切面(Aspect) 切面是AOP中的一个核心概念,它封装了横切关注点,如日志记录、性能监控、安全控制等。横切关注点是指那些在多个类中重复出现,但又与业务逻辑无关的代
阅读全文
posted @ 2025-05-14 23:26 gsluofu
阅读(13)
评论(0)
推荐(0)
2025年2月26日
Spring相关
摘要: org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory#populateBean->执行InstantiationAwareBeanPostProcessor的postProcessProperties
阅读全文
posted @ 2025-02-26 17:53 gsluofu
阅读(13)
评论(0)
推荐(0)
2024年9月1日
jwt
摘要: public class TokenInterceptor implements HandlerInterceptor { @Override public boolean preHandle(HttpServletRequest request, HttpServletResponse respo
阅读全文
posted @ 2024-09-01 16:29 gsluofu
阅读(12)
评论(0)
推荐(0)
OAuth2.0授权码模式详解
摘要: OAuth 2.0一词中的"Auth"表示"授权Authorization",字母"O"表示"开放Open",连在一起就表示"开放授权"。这也是为什么我们使用OAuth的场景,通常发生在开放平台的环境下。 OAuth 2.0提供了4种模式: 资源拥有者凭据许可(Resource Owner Pass
阅读全文
posted @ 2024-09-01 16:27 gsluofu
阅读(1629)
评论(0)
推荐(0)
OAuth2
摘要: 以业界标杆微信开放平台的网站应用微信登录给第三方授权为例,尝试解答这个问题。先看微信提供的交互流程图: 可以看出,当微信用户同意授权给第三方应用时,会把授权临时票据code以重定向的方式返回给用户,用户浏览器重定向到第三方应用(同时携带code),第三方应用拿这个code,再加上自己的appid和a
阅读全文
posted @ 2024-09-01 16:15 gsluofu
阅读(27)
评论(0)
推荐(0)
spring 自定义属性解析器spring web 5.28
摘要: 自定义属性解析器 org.springframework.context.support.AbstractApplicationContext#prepareBeanFactory beanFactory.setBeanClassLoader(getClassLoader()); //设置EL表达式
阅读全文
posted @ 2024-09-01 15:35 gsluofu
阅读(49)
评论(0)
推荐(0)
tomcat 源码概念及解析
摘要: server.xml是Tomcat服务器的核心配置文件,它定义了Tomcat服务器的运行参数和容器的配置。下面是对server.xml中一些关键标签的解读: Server: 这是server.xml文件的根元素,它代表了整个Tomcat服务器的实例。 port属性定义了Tomcat的shutdown
阅读全文
posted @ 2024-09-01 14:45 gsluofu
阅读(53)
评论(0)
推荐(0)
2023年11月13日
Excel word pdf查找
摘要: import org.apache.commons.lang.StringUtils; import org.apache.pdfbox.pdmodel.PDDocument; import org.apache.pdfbox.text.PDFTextStripper; import org.apa
阅读全文
posted @ 2023-11-13 14:36 gsluofu
阅读(26)
评论(0)
推荐(0)
2022年7月18日
Spring Mvc
摘要: LINK:https://mp.weixin.qq.com/mp/appmsgalbum?__biz=MzA5MTkxMDQ4MQ==&action=getalbum&album_id=1873497824336658435&scene=173&from_msgid=2648941361&from_
阅读全文
posted @ 2022-07-18 23:05 gsluofu
阅读(26)
评论(0)
推荐(0)
2022年3月20日
schema解析
摘要: schema xsd(xml schema Defination) xmlns:名称空间(xmlnamespace) 引用的约束文件的名称targetNamespace xmlns:context、一个xml可以被多个xsd 定义管理 后面的context 用于用户区分使用如:context:com
阅读全文
posted @ 2022-03-20 10:54 gsluofu
阅读(94)
评论(0)
推荐(0)
1
2
3
4
5
···
8
下一页
公告