摘要: package cn.rivamed.config.security; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframe 阅读全文
posted @ 2019-10-25 15:00 官萧何 阅读(8509) 评论(0) 推荐(0) 编辑
摘要: 欢迎来到我的友链小屋 阅读全文
posted @ 2019-10-25 10:31 官萧何 阅读(344) 评论(9) 推荐(0) 编辑
摘要: 注: 实现 BeanPostProcessor 保证该配置类在spring容器初始化之前初始化,实现EnvironmentAware获得全局配置环境对象environment 配置文件: 测试类: 启动demo项目: 阅读全文
posted @ 2019-10-25 10:17 官萧何 阅读(2089) 评论(0) 推荐(0) 编辑