# Spring Security Architecture Explained

DevFeed: [Spring Security Architecture Explained](<https://devfeed.tech/articles/spring-security-architecture-explained-17747.md>)

Original publisher: [Read original article](<https://blog.amigoscode.com/p/spring-security-architecture-explained>)

Author: Nelson Djalo

Published: 2024-10-17T16:58:10Z

Content type: article

Language: en

Sources: [Amigoscode Newsletter](<https://devfeed.tech/sources/amigoscode-newsletter.md>)

Topics: [Spring Boot](<https://devfeed.tech/topics/spring-boot.md>), [Architecture & Design](<https://devfeed.tech/topics/architecture-design.md>), [Security](<https://devfeed.tech/topics/security.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [Authorization](<https://devfeed.tech/topics/authorization.md>), [JSON Web Tokens](<https://devfeed.tech/topics/jwt.md>)

Tags: [architecture](<https://devfeed.tech/tags/architecture.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [authorization](<https://devfeed.tech/tags/authorization.md>), [cors](<https://devfeed.tech/tags/cors.md>), [jwt](<https://devfeed.tech/tags/jwt.md>), [security](<https://devfeed.tech/tags/security.md>), [spring](<https://devfeed.tech/tags/spring.md>), [spring-boot](<https://devfeed.tech/tags/spring-boot.md>)

## AI overview

This article explains the architecture of Spring Security in Spring Boot applications. It describes how the Security Filter Chain, AuthenticationManager, Authentication Providers, UserDetailsService, and PasswordEncoder work together to authenticate users and authorize access, including username/password, JWT, OAuth2, and custom authentication methods.

## Source excerpt

Unlocking the Layers of Security in Spring Boot Applications