Blog Post: Role-based Authorization using Spring Boot and Spring Security
In this tutorial, we will learn how to implement role-based authorization using Spring Boot 3, Spring Security, and MySQL database. We will use two roles - ADMIN, and USER.
#springboot#springsecurity#mysql#java#javaguides
Did you know that DelegatingPasswordEncoder is recommended by Spring Security even for new applications? This way new future hashing algorithms can be automatically applied. #springboot#springsecurity
Do you like testing your security code? You will if you use Spring Security's testing framework!
Learn how to test your @SpringSecurity apps that use JWT and OAuth 2.0 in my latest screencast.
📺
#springsecurity#testing#java
JWT with Spring Security
Stateless security
No session stored on server
Each request carries a token
Perfect for scalable REST APIs!
#SpringSecurity + #JWT = 🔥
#Java#Microservices#ayshirv
Mastering #SpringSecurity starts with understanding the basics:
Authentication
Authorization
Filters
SecurityContext
A secure app starts with the right config. Don’t skip the fundamentals!
#Java#SpringBoot#ayshriv
🔐 Spring Security 6.4 introduces One-Time Token Login! No more username/password hassles - users get a magic link via email and they're in.
Check out my tutorial on building this from scratch with Spring Boot 3.4 #SpringBoot#SpringSecurity#Java
Today, I'm proud to say that @jhipster has finished migrating to @SpringSecurity 6's authorizeHttpRequests() and its deny-by-default behavior! Kudos to Marcelo Shima for helping push it over the finish line. 💪
#jhipster#springsecurity#opensource
Java developers, take note! A Spring Security vulnerability has been discovered. Upgrade to version 5.7.5 or beyond to protect against the authorization bypass. More info: #java#cybersecurity#springsecurity
My latest course, Spring Security Core: Beginner to Guru is now available on Udemy. Enroll now for just $9.99 using the coupon code SPRING_SECURITY_CORE
#springframework#springsecurity#springboot