In this tutorial, you will learn how to use @AuthenticationPrincipal annotation to get the Jwt object containing the details of a provided in HTTP Request access token. When we send a request containing an access token in the Authorization header, behind the scenes, Spring Framework will do a lot of work and if all is good,…Read More @AuthenticationPrincipal – Getting the Jwt Claims
In this tutorial, you will learn how to make Zuul API Gateway pass an Authorization header to a downstream Microservice. To learn how to make Spring Boot Microservice read HTTP Request headers, please read this tutorial: Read HTTP Request Header in Spring MVC. Configure Zuul API Gateway to Forward an Authorization Header By default, Zuul…Read More Pass Authorization Header to Downstream Microservice
In this tutorial, you will learn how to add JWT support to your Spring Boot application and also how to add and validate custom JWT Claims. In this tutorial, I am going to use a very simple Spring Boot application generated with Spring Tools. To learn how to create a very simple Spring Boot application…Read More Add and Validate Custom Claims in JWT
In this Spring Boot tutorial, you will learn how to implement User Authentication(User Login) functionality for your RESTful Web Service built with Spring Boot, Spring MVC, Spring Security using JWT. There is also a step-by-step video demonstration on how to do User Authentication available here. The user authentication functionality we are going to implement in…Read More User Authentication – Spring Boot, Spring Security, JWT
If your mobile or web app allows the user to register and have an account with your project then you also need to let users recover their lost or forgotten password. And in this video tutorial, I am going to share with you a few videos that will help you implement Password Reset functionality in your…Read More Password Reset in REST API. Video tutorial.
In this short tutorial on REST Assured you will learn how to get the entire HTTP Response Body when testing your RESTful Web Service Endpoint. Web Service Endpoint Response Let’s assume we have the following Web Service Endpoint URL and when HTTP GET request is made to this Web Service Endpoint a JSON representation of…Read More REST Assured Get HTTP Response Body