Spring Boot

Spring Boot Login and Registration REST API with Spring Security, Hibernate, and MySQL Database

In this tutorial, you will learn how to build login and registration REST APIs for a simple Blog application using Spring Boot, Spring Security, Hibernate, and a MySQL database. We will go through step-by-step instructions to set up the project, configure the necessary dependencies, and implement the login and registration functionality. By the end of …

Spring Boot Login and Registration REST API with Spring Security, Hibernate, and MySQL Database Read More »

Spring Boot Security Database Authentication Example

In this Spring Security tutorial, we will learn how to implement a custom login form with database authentication using Java, Spring Boot, Spring Security, and a MySQL database. In database authentication, the user enters login credentials (username and password) in a login form and submits it. The application then validates the entered credentials with those …

Spring Boot Security Database Authentication Example Read More »

Spring Boot Security Form-Based Authentication

In this Spring Security tutorial, we will learn how to use Spring Security’s built-in Form-Based Authentication. Spring Security provides support for username and password authentication through an HTML form, making it a user-friendly option for securing web applications. Form-Based Authentication Overview Form-based authentication uses standard HTML form fields (login form) to pass the username and …

Spring Boot Security Form-Based Authentication Read More »

Spring Boot Security In-Memory Authentication

In this Spring Security tutorial, we will learn how to configure Spring Security to use in-memory authentication. In-memory authentication is a simple and efficient way to manage user authentication for small applications or for development and testing purposes. It involves storing user credentials directly in the application’s memory rather than in an external database. This …

Spring Boot Security In-Memory Authentication Read More »

Spring Boot Security with JWT Token Tutorial

Introduction In this tutorial, we will implement token-based authentication using Spring Boot, Spring Security, JWT (JSON Web Token), and MySQL database. This approach provides a secure and efficient way to handle user authentication in your Spring Boot applications. JWT (JSON Web Token) Overview What is JWT? JWT stands for JSON Web Token, an open standard …

Spring Boot Security with JWT Token Tutorial Read More »

Full-Stack CRUD Web Application with Java, Spring Boot, React JS, and MySQL

In this comprehensive tutorial, we’ll create a full-stack CRUD Todo application using Java, Spring Boot, JavaScript, React JS, and a MySQL database. This guide will walk you through building the backend REST APIs with Spring Boot and the frontend React application to consume these APIs. Create a Spring Boot Project Using Spring Initializr First, create …

Full-Stack CRUD Web Application with Java, Spring Boot, React JS, and MySQL Read More »

Difference Between @Valid and @Validated in Spring Boot

Spring Boot provides robust support for validating application data, ensuring that the data entering your application adheres to predefined constraints. Two primary annotations used for validation in Spring Boot are @Valid and @Validated. Although both serve the purpose of validating data, they have distinct contexts and specific usages. In this blog post, we will explore …

Difference Between @Valid and @Validated in Spring Boot Read More »

Scroll to Top