![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SpringBoot
mning628
这个作者很懒,什么都没留下…
展开
-
自定义SpringBoot-Starter
在使用SpringBoot时,经常会使用Starter,自己实现一个Starter可以帮助自己更好的理解SpringBoot开箱即用的原理。 第一步:创建一个普通的Maven工程,pom.xml重要内容如下: <modelVersion>4.0.0</modelVersion> <groupId>com.mn</groupId> ...原创 2019-07-30 12:05:45 · 86 阅读 · 0 评论 -
SpringBoot配合Jasypt实现配置项加密
对于SpringBoot中的重要配置项,如数据库密码等,需要进行密码加密,避免安全问题的发生,可以配合Jasypt实现配置项加密。 首先搭建一个最基础的SpringBoot工程,这个对于你肯定不是问题啦~现在我认为你的SpringBoot项目已经可以正常运行咯~ 下面就开始整合Jasypt了!!! 1、添加依赖 <dependency> <groupId&g...原创 2019-08-01 16:16:02 · 218 阅读 · 0 评论