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.
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.
In this post, we will see how we can add the Spring Intilializr and Assistant plugin and how we can use it to set up our Spring Boot development environment, based on IDEA IntelliJ. Note that it is supposed that you have already installed IDEA IntelliJ on your machine and you have gained enough familiarity with it.
VS Code is an awesome IDE from Microsoft, recognized as one of the best dev tools by developers’ communities worldwide. Spring Boot on the other hand is also a flag-ship framework for Java, that has been widely acknowledged by all developers as a heavy-duty tool for Java development projects. In this post, we will take the steps to see how we can set up our Spring Boot development environment, based on VS Code.