In this Spring Boot tutorial, you will learn how to get the details of the currently authenticated principal user. There is more than one way to get currently authenticated user details and in this blog post, I am going to share with you a few. Most likely you already have Spring Security configured for your…Read More Spring Security. Get Authenticated Principal Details.
In this Spring Boot Security tutorial, you will learn how to use Spring method-level security to secure RestController methods with @PreAuthorize annotation. If you are interested in video lessons, then I also show how to create user Roles and Authorities and how to use Spring Method Level Security annotations in my video course: RESTful Web…Read More Spring Method-Level Security. Secure RestController Methods
In this Spring Boot Security tutorial, you will learn how to enable Basic Authentication for your Spring Boot project and how to configure the default username, password and user role. You will also learn how to secure a web service request URL so that only authenticated user with a default username, password and role can access.…Read More Spring Security Default Username, Password, Role
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
In this tutorial, I am going to share with you how to allow access to your Microservice from an IP address of Zuul API Gateway only. For a step by step series of video lessons, please check this page: Spring Boot Microservices and Spring Cloud. In my previous tutorial, I have shared with you how…Read More Allow Only IP Address of Zuul API Gateway
With this short blog post, I am going to share with you how to add Spring Security to your project so that we can use Spring Security to encrypt user password. I assume you already have your project created with Spring and in case you have not check out my blog post on “Create a…Read More Encrypt User Password with Spring Security