(十一) 整合spring cloud云架构 - SSO单点登录之OAuth2.0登录流程(2) 上一篇是站在巨人的肩膀上去研究OAuth2.0,也是为了快速帮助大家认识OAuth2.0,闲话少说,我根据框架中OAuth2.0的使用总结,画了一个简单的流程图(根据用户名+密码实现OAuth2.0的... ...
分类:
编程语言 时间:
2018-09-30 10:49:27
阅读次数:
195
异常现象 近期做Spring Cloud项目,工程中对Controller添加ResponseBodyAdvice切面,在切片中将返回的结果封装到ResultMessage(自定义结构),但在Controller的方法返回值为字符串,客户端支持的类型为application/json时,出现以下异常 ...
分类:
编程语言 时间:
2018-09-29 20:27:21
阅读次数:
220
FROM public-docker-virtual.artnj.zte.com.cn/java:8-jdk-alpineRUN mkdir /appCOPY ./spring-cloud-with-test0929-1.0-SNAPSHOT.jar /app/spring-cloud-with-t ...
分类:
其他好文 时间:
2018-09-29 20:21:54
阅读次数:
162
Steeltoe里的分布式追踪功能与 "Spring Cloud Sleuth" 一样,支持在日志中记录追踪数据,或者上传到远端的服务,比如Zipkin。 Logging 在Steeltoe中使用日志时需要引入其特有的日志包 。 之后还需在应用程序启动时加入日志提供器。 接下来,引入追踪包 。 然后 ...
分类:
其他好文 时间:
2018-09-29 19:14:36
阅读次数:
154
Spring Cloud Sleuth提供了分布式追踪(distributed tracing)的一个解决方案。其基本思路是在服务调用的请求和响应中加入ID,标明上下游请求的关系。利用这些信息,可以方便地分析服务调用链路和服务间的依赖关系。 Only Sleuth 在Spring Tool Suit ...
分类:
编程语言 时间:
2018-09-28 23:27:38
阅读次数:
214
Zuul的主要功能就是路由转发和过滤器 实例: 1:添加依赖pom.xml: <dependencies> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netfl ...
分类:
编程语言 时间:
2018-09-28 20:43:18
阅读次数:
278
We are pleased to announce that Oracle OCI, Brightbox Cloud, and Rightscale providers are now available for?[HashiCorp Terraform](https://www.terraform.io/). This blog will detail the new providers and include links to additional resources.
分类:
数据库 时间:
2018-09-28 20:42:32
阅读次数:
272
We are excited to be part of Microsoft Ignite this year in Orlando, Florida. The HashiCorp and Microsoft partnership continues to extend and deepen so that we can offer our joint customers and users the best tools for building and running applications deployed on cloud infrastructure.
分类:
其他好文 时间:
2018-09-28 20:40:03
阅读次数:
216
Github传送门:https://github.com/13babybear/bounter-oauth2 实现功能有: 整合JWT 刷新Token 自定义客户端储存 自定义用户储存 资源服务器JWT本地鉴权 密码Bcrypt加密 支持的授权模式: 客户端 用户名密码 授权码 ...
分类:
编程语言 时间:
2018-09-28 16:41:49
阅读次数:
566
工程介绍 Spring Cloud 工程目录 model registry-center Servers tzxyfx tzxyfx-provider zinpkin 启动流程 1.运行注册中心 运行工程方式如下:RunAs-->Java Application|(Alt+Shift+X,R) 2. ...
分类:
其他好文 时间:
2018-09-27 18:12:56
阅读次数:
160