A deeper intro about what is behind the scenes of the Spring authentication/authorization process, integrating also concepts like filters, tokens, customizations for an Authentication Manager or an Authentication Provider, and so on.
Pass from deprecated WebSecurityConfigurerAdapter to the new component-based (bean-based) security configuration, in an easy and understandable way.
This is the 4th in a series of posts which focuses on how we can create and use a CustomAutenticationProvider and use it with a password verification stored procedure.
Here is a quick intro about .antMatchers(), as well as user roles and authorities.
This is the 2nd part (the 2nd case example) of how to implement a custom validation in Spring Boot. In this Post we proceed with the implementation of a “master-details” custom validation example, as we’ve mentioned at the beginning.
In this post, we focus on a common case, when we have to check if a value in a JSON field, passed in the body of a POST request, is one of the values provided in an array we define.
This is the 3rd in a series of posts which focuses on LDAP Authentication, but does not provide any detail on the LDAP itself. Our aim is to demonstrate how you can implement LDAP Authentication with Spring Boot framework, by using either a configurer (via the the ldapAuthentication()) or an authentication provider Bean (the LdapAuthenticationProvider) in a classic Custom Security Configuration class, extending
Using a Custom Security Configuration class based on WebSecurityConfigurerAdapter should not be a case for you anymore. This is because it has been deprecated since Spring Security 5.7.0-M2.
However, if you wish to continue using it for a while, without seeing the warning curly yellow lines in your IDE, then here is a quick solution.
This is a very very simple, yet well-working, Spring Boot REST API project, demonstrating the fundamental building blocks of such a project. The idea is to motivate beginner learners to start digging deeper after they can see how easily they can implement and see running a Spring Boot Rest API service.
This is the 2nd in a series of posts about the Spring Security customization based on the implementation of a custom class extending the WebSecurityConfigurerAdapter abstract class.