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.
Installing the Tomcat APR native library allows us to work smoothly with both: the JSSE and the OpenSSL implementation.
APR mainly is a supporting library for the Apache web server, offering also some more encasements and functionalities. In this post, you can see the process of installing it in a Debian/Linux distribution system.
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.
The legacy Spring Boot Security Configuration, extending the WebSecurityConfigurerAdapter abstract class, is considered deprecated and is being replaced by a component-based security configuration. However, since the existing coding base is huge, here, we will stick to customization of the WebSecurityConfigurerAdapter, and we will try to provide a better understanding, using practical examples.
Apache Tomcat is maybe the most popular Java Application Server of the Java Developers Community. It is Java-based and here we will take a quick look on how to install, configure and start working.