Tag: Java
-
The 3 Things Any New Intellij User Should Learn First
Intellij is my favorite IDE. It’s powerful, easy to use and has a lot of features. In this post I will list the main things any new Intellij user should learn first.
-
Spring Cloud Gateway with KeyCloak and OAuth2
In this article I will show how to configure a KeyCloak server. And I will use it in a Spring Cloud and Spring Boot architecture as an authorization server where a Spring Cloud Gateway will try to authenticate.
-
How to Deploy a Microservices Architecture to ECS AWS in 4 Steps
In this article I show how to deploy a microservices architecture to AWS ECS. In 4 easy steps, which can be done from a CI/CD platform.
-
How to Easily Deploy Your Spring Boot Application to AWS EC2
Today I will show how to deploy a simple Spring Boot application to AWS EC2. I will do it in such a way to be used from a CI CD pipeline. In such a way each new version will be deployed automatically to EC2.
-
Create your First CICD Pipeline with GitlabCI
In this article I create my first CI/CD Pipeline with GitlabCI. I explain the main concepts of GitlabCI, jobs, stages and conditions. And I show how to configure a runner.
-
Create your first Github Actions
In this article I will create my first Github Actions. I will use the CI/CD pipeline of Github to run several commands over my project. I will also show how to configure a self hosted runner.
-
Spring Cloud Gateway with OAuth2 Authorization Server
In this article I will create a Spring Cloud Gateway application connected to an OAuth2 Authorization Server. I will use an existing OAuth2 Authorization server and create a Spring Cloud Gateway application from scratch to consume data from a Resource Server.
-
OAuth2 and OpenID Connect
In this article, I will compare the OAuth2 and OpenID Connect authentication protocols. I will implement the OpenID Connect with the Spring Security Authorization Server.
-
Spring Cloud Sleuth & Zipkin
In this article I will show how to trace requests between microservices using Spring Cloud Sleuth and Zipkin. Spring Cloud Sleuth will help me identify the logs from a single request between all the microservices. And Zipkin will show me the elapsed times at the microservices.
-
Spring Security and Roles Authorization
In this article I will explain the difference between Authentication and Authorization. I will also explain how to implement the Authorization pattern with Spring Security. For that, I will use the @PreAuthorize annotation.