spring-boot
文章平均质量分 54
五克松
这个作者很懒,什么都没留下…
展开
-
spring-boot如何得到一个tomcat实例(基于spring-boot_v1.5.14.RELEASE)
我们知道,springboot默认使用的是内嵌的tomcat作为web服务器,我们可以通过配置文件对tomcat的参数进行修改,比如server.port表示监听端口,server.contextPath表示上下文路径,server.tomcat.max-connections表示,完整配置可参考 https://docs.spring.io/spring-boot/docs/1.5...原创 2018-07-24 19:55:59 · 2979 阅读 · 0 评论 -
Spring-Security的Password Encoding
详细文档参考官方说明https://docs.spring.io/spring-security/site/docs/5.0.9.RELEASE/reference/htmlsingle/#core-services-password-encoding PasswordEncoder是spring-security的一个接口,主要用于对密码进行编码或加密,它有什么用途呢?说白了就是...原创 2019-01-11 18:48:12 · 1205 阅读 · 0 评论 -
spring-boot如何得到一个tomcat实例(基于spring-boot_v2.0.6.RELEASE)
在上一篇博文spring-boot如何得到一个tomcat实例(基于spring-boot_v1.5.14.RELEASE)中我们介绍了基于spring-boot 1.5.14版本中tomcat的实例化过程,由于2.0版本之后这个实例化过程发生了很大的改变,所以本文将以2.0.6版本为基础介绍tomcat的实例化过程。(https://docs.spring.io/spring-b...原创 2019-01-18 18:56:07 · 1162 阅读 · 0 评论 -
spring-boot-autoconfigure
初次接触spring-boot的时候,我们经常会看到这样的文章:“为什么要使用spring-boot” "spring-boot与spring mvc有什么区别",在这些文章中几乎都会出现这样的一句话“约定优于配置”,确实是这样的,spring-boot与spring-mvc的一个重要区别就是spring-boot遵循“约定优于配置”这一原则,而spring-boot-autocon...原创 2019-01-17 11:13:22 · 19287 阅读 · 4 评论