Stella981 Stella981
3年前
Spring Boot 2.0 整合 ES 5 文章内容搜索实战
本章内容文章内容搜索思路搜索内容分词搜索查询语句筛选条件分页、排序条件小结一、文章内容搜索思路上一篇讲了在怎么在 SpringBoot(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fwww.roncoo.com%2Fcourse%2Flis
Stella981 Stella981
3年前
Spring Security Oauth2.0 实现短信验证码登录
springsecurityoauth2登录过程详解​!oauth2登录过程详解.png(https://ask.qcloudimg.com/draft/1219867/th3wmc3zzu.png)​定义手机号登录令牌/
Stella981 Stella981
3年前
Spring Boot 2 + Thymeleaf:表单字段绑定、表单提交处理
SpringBoot中Thymeleaf对表单处理的一些用法:(1)使用th:field属性:进行表单字段绑定(2)使用ids对象:一般用于lable配合radio或checkbox使用(3)表单提交处理开发环境:IntelliJIDEA2019.2.2SpringBoot版本:2.1.8新建一个名称为demo的Spr
Stella981 Stella981
3年前
Spring Boot中使用Flyway来管理数据库版本
久违了的SpringBoot系列,今天抽空更新一篇。去年写过很多篇关于数据访问的文章了,比如下面这些:使用JdbcTemplate(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fblog.didispace.com%2Fspringbootdata1%2F)
Stella981 Stella981
3年前
Spring Security 实战干货:登录成功后返回 JWT Token
1\.前言欢迎阅读SpringSecurity实战干货系列文章,上一文我们实现了JWT工具。本篇我们将一起探讨如何将JWT与SpringSecurity结合起来,在认证成功后不再跳转到指定页面而是直接返回JWTToken。本文的DEMO可通过文末的方式获取2\
Stella981 Stella981
3年前
Spring Cloud下基于OAUTH2认证授权的实现
SpringCloud下基于OAUTH2认证授权的实现博客分类:javaspring在SpringCloud需要使用OAUTH2来实现多个微服务的统一认证授权,通过向OAUTH服务发送某个类型的granttype进行集中认证和授权,从而获得access_token,而这个token是受其他微服务信任的,我们在后续的访问可以
Stella981 Stella981
3年前
Spring Boot实现定时任务的四种方式
点击上方Java学习指南关注公众号每天阅读Java干货文章!(https://oscimg.oschina.net/oscnet/ddec68f6f7504ab397cca7e7fcfd77d5.jpg)定时任务实现的几种方式:Timer:这是java自带的java.util
Stella981 Stella981
3年前
SpringBoot学习之路:09.Spring Boot中添加Filter应用
   上篇文章中说了SpringBoot中是如何使用servlet的,本文将讲解在SpringBoot中对过滤器Filter的实现一.编写MyFilter实现Filter接口packagecom.maxbill.core.webbox.filter;importorg.apache.log4j
Stella981 Stella981
3年前
Spring Cloud构建微服务架构:服务消费(基础)【Dalston版】
通过上一篇《SpringCloud构建微服务架构:服务注册与发现》(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fblog.didispace.com%2Fspringcloudstarterdalston1%2F),我们已经成功地将服务提供者:eurekaclient或
Stella981 Stella981
3年前
Spring Boot 构建电商基础秒杀项目 (五) 用户注册
SpringBoot构建电商基础秒杀项目(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fwww.imooc.com%2Fvideo%2F18390)学习笔记UserService添加voidregister(UserModelu