Skip to main content

BezKoder

  • Courses
  • Full Stack
  • Spring
  • Node
  • Vue
  • Angular
  • React
  • Firebase
  • Django
  • Dart
  • JsonFormatter
  • Categories

Tag: spring security

Spring Boot Security and JWT tutorial with example

Last modified: June 16, 2023 bezkoder

In this tutorial, we’re gonna build a Spring Boot, Spring Security that supports JWT working with H2 embedded Database. You’ll know:

  • Flow for User Login, Registration, Authorization with JWT and HttpOnly Cookie
  • Spring Boot Rest Api Architecture with Spring Security and JWT
  • How to configure Spring Security to work with JWT
  • How to define Data Models and association for Authentication and Authorization
  • Way to use Spring Data JPA to interact with H2 Database

– Related Posts:

  • Using Token in HTTP Authorization Headers
  • Spring Boot JPA + H2 example: CRUD Rest APIs
  • Spring Boot File upload example
  • @RestControllerAdvice example in Spring Boot
  • Spring Boot @ControllerAdvice & @ExceptionHandler example
  • @DataJpaTest example for Spring Data Repository Unit Test
  • Documentation: Spring Boot + Swagger 3 example (with OpenAPI 3)
  • Spring Boot Redis Cache example
  • Spring Boot custom Validation example

Other Databases:
– Spring Boot, Spring Security example with JWT and MySQL
– Spring Boot, Spring Security example with JWT and MongoDB

Read More

Angular 13 + Spring Boot: JWT Authentication & Authorization example

Last modified: December 20, 2022 bezkoder 3 Comments

In this tutorial, I will show you how to build a full stack Angular 13 + Spring Boot Login and Registration with JWT example. The back-end server uses Spring Boot with Spring Security for JWT Authentication & Role based Authorization, Spring Data JPA for interacting with database. The front-end will be built using Angular 13 with HttpInterceptor & Form validation.

Related Posts:
– Angular 13 + Spring Boot: File upload/download example
– Spring Boot Login and Registration example with MongoDB

Fullstack CRUD Application:
– Angular + Spring Boot + H2 example
– Angular + Spring Boot + MySQL example
– Angular + Spring Boot + PostgreSQL example
– Angular + Spring Boot + MongoDB example

Newer versions:
– Angular 14 + Spring Boot: JWT Authentication & Authorization example
– Angular 15 + Spring Boot: JWT Authentication & Authorization example

Read More

Spring Boot Security Login example with JWT and H2 Database

Last modified: June 12, 2023 bezkoder 4 Comments

In this tutorial, we’re gonna build a Spring Boot, Spring Security: Login and Registration example (Rest API) that supports JWT with HttpOnly Cookie working with H2 Database. You’ll know:

  • Appropriate Flow for User Login and Registration with JWT and HttpOnly Cookie
  • Spring Boot Rest Api Architecture with Spring Security
  • How to configure Spring Security to work with JWT
  • How to define Data Models and association for Authentication and Authorization
  • Way to use Spring Data JPA to interact with H2 Database

– Related Posts:

  • Using Token in HTTP Authorization Headers
  • Spring Boot JPA + H2 example: CRUD Rest APIs
  • Spring Boot File upload example
  • @RestControllerAdvice example in Spring Boot
  • Spring Boot @ControllerAdvice & @ExceptionHandler example
  • @DataJpaTest example for Spring Data Repository Unit Test
  • Documentation: Spring Boot Swagger 3 example
  • Spring Boot Redis Cache example
  • Spring Boot custom Validation example

Other Databases:
– Spring Boot Login and Registration example with JWT and MySQL
– Spring Boot Login and Registration example with JWT and MongoDB

Deployment:

  • Deploy Spring Boot App on AWS – Elastic Beanstalk
  • Docker Compose: Spring Boot and MySQL example

Read More

Spring Boot Login and Registration example with MongoDB

Last modified: June 23, 2023 bezkoder 4 Comments

This tutorial helps you build a Spring Boot + MongoDB: Login & Registration example with HttpOnly Cookie, JWT, Spring Security and Spring Data MongoDB. You’ll know:

  • Appropriate Flow for User Login and Registration with JWT
  • Spring Boot Rest API Architecture with Spring Security
  • How to configure Spring Security to work with JWT
  • How to define Data Models and association for User Login and Registration
  • Way to get and generate Cookies for Token
  • Way to use Spring Data MongoDB to interact with MongoDB Database

More Practice:
– Spring Boot with MongoDB CRUD example using Spring Data
– Spring Boot MongoDB Pagination example with Spring Data
– Spring Boot + GraphQL + MongoDB example
– Spring Boot Unit Test for Rest Controller
– Documentation: Spring Boot Swagger 3 example
– Spring Boot Redis Cache example
– Spring Boot custom Validation example

Read More

Spring Boot Login example: Rest API with MySQL and JWT

Last modified: June 23, 2023 bezkoder 9 Comments

In this tutorial, we’re gonna build a Spring Boot Login and Registration example (Rest API) that supports JWT with HttpOnly Cookie. You’ll know:

  • Appropriate Flow for User Login and Registration with JWT and Cookies
  • Spring Boot Rest Api Architecture with Spring Security
  • How to configure Spring Security to work with JWT
  • How to define Data Models and association for Authentication and Authorization
  • Way to use Spring Data JPA to interact with MySQL Database

– Related Posts:

  • Using Token in HTTP Headers
  • Spring Boot, Spring Data JPA: Rest CRUD API example
  • Spring Boot File upload example
  • @RestControllerAdvice example in Spring Boot
  • Spring Boot @ControllerAdvice & @ExceptionHandler example
  • Spring Boot Unit Test for JPA Repository
  • Spring Boot Unit Test for Rest Controller
  • Documentation: Spring Boot + Swagger 3 example (with OpenAPI 3)
  • Spring Boot Redis Cache example
  • Spring Boot custom Validation example

Other Databases:
– Spring Boot Login and Registration example with JWT and H2
– Spring Boot Login and Registration example with JWT and MongoDB

Deployment:

  • Deploy Spring Boot App on AWS – Elastic Beanstalk
  • Docker Compose: Spring Boot and MySQL example

Read More

Posts navigation

Newer posts 1 2 3 … 5 Older posts
Buy me a coffee

Follow us

  • Facebook
  • Youtube
  • Github

Tools

  • Json Formatter
  • .
  • Privacy Policy
  • Contact
  • About
DMCA.com Protection Status © 2019-2022 bezkoder.com
X