Spring Boot
Handling Passwords with Spring Boot and Spring Security
Systems with user management require authentication. If we use password-based authentication, we have to handle users' passwords in our system. This article shows how to encode and store passwords securely with Spring Security.
Read moreOne-Stop Guide to Database Migration with Flyway and Spring Boot
Spring Boot simplifies database migrations by providing integration with Flyway, one of the most widely used database migration tools. This guide presents various options of using Flyway as part of a Spring Boot application, as well as running it within a CI build.
Read moreSpring Boot Application Events Explained
To “listen” to an event, we can always write “listener” to an event as another method within the source of the event, but this will tightly couple the event source to the logic of the listener.
Read moreMultitenancy Applications with Spring Boot and Flyway
Multitenancy applications allow different customers to work with the same application without seeing each other’s data. That means we have to set up a separate data store for each tenant.
Read moreOne-Stop Guide to Profiles with Spring Boot
Spring provides a mighty tool for grouping configuration properties into so-called profiles, allowing us to activate a bunch of configurations with a single profile parameter.
Read moreExecuting Code on Spring Boot Application Startup
Sometimes we just need to run a snippet of code on application startup, be it only to log that a certain bean has loaded or the application is ready to process requests.
Read more