Skip to content

This repository is dedicated to learning and mastering Spring Security, a powerful and flexible security framework for securing Java applications. It covers essential concepts and hands-on examples to help developers secure their web applications, APIs, and services.

Notifications You must be signed in to change notification settings

DevAdriam/learn-spring-security

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learning Spring Security

Welcome to the Learning Spring Security repository! This project is a step-by-step guide to mastering the fundamentals and advanced features of Spring Security. The repository covers authentication, authorization, JWT, OAuth2, and more, with practical examples and hands-on learning.

Table of Contents

Introduction

Spring Security is a powerful and customizable security framework for Java applications. This repository provides examples of various security configurations, helping you implement secure authentication and authorization mechanisms for web applications and APIs.

Features

  • Authentication & Authorization:

    • Implement secure login, registration, and user role-based access control.
  • JWT (JSON Web Tokens):

    • Learn how to create, validate, and manage JWT tokens to secure your REST APIs.
  • Custom Security Filters:

    • Create custom filters for additional security measures, such as custom authentication flows.
  • CSRF Protection:

    • Understand and apply Cross-Site Request Forgery protection to safeguard your applications.
  • Session Management:

    • Explore session creation policies like stateless authentication using SessionCreationPolicy.STATELESS.
  • Password Encoding:

    • Learn to securely hash and encode user passwords with Spring Security.
  • OAuth2 & Social Login:

    • Integrate OAuth2 and enable social login with providers like Google, Facebook, and GitHub.

About

This repository is dedicated to learning and mastering Spring Security, a powerful and flexible security framework for securing Java applications. It covers essential concepts and hands-on examples to help developers secure their web applications, APIs, and services.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages