An Intro to Spring Cloud Security 1. Overview The Spring Cloud Security module provides features related to token-based security in Spring Boot applications. Specifically, it makes OAuth2-based SSO easier – with support for relaying tokens between Resource Servers, as well as configuring downstream authentication using an embedded Zuul proxy. In… Continue Reading spring-cloud-security

Spring Cloud Series – The Gateway Pattern 1. Overview So far, in our cloud application, we’ve used the Gateway Pattern to support two main features. First, we insulated our clients from each service, eliminating the need for cross-origin support. Next, we implemented locating instances of services using Eureka. In this… Continue Reading spring-cloud-gateway-pattern

@Component vs @Repository and @Service in Spring   1. Introduction In this quick tutorial, we’re going to learn about the differences between @Component, @Repository, @Service annotations, in the Spring Framework. Further reading: Guide to Spring @Autowired A guide to the most commonest usage of Springs @Autowired annotation and qualifiers Read more → The… Continue Reading spring-component-repository-service

Combining Observables in RxJava 1. Introduction In this quick tutorial, we’ll discuss different ways of combining Observables in RxJava. If you’re new to RxJava, definitely check out this intro tutorial first. Now, let’s jump right in. 2. Observables Observable sequences, or simply Observables, are representations of asynchronous data streams. These’re… Continue Reading rxjava-combine-observables