Skip to content

NESOY/spring-security-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

12 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

spring-security-example

AuthenticationManager

Spring Security Filter

  • ๊ธฐ๋ณธ์ ์œผ๋กœ 15๊ฐœ์˜ ํ•„ํ„ฐ๊ฐ€ ์กด์žฌ
  • SecurityContextPersistenceFilter
  • UsernamePasswordAuthenticationFilter
    • ์œ ์ €์™€ ๋น„๋ฐ€๋ฒˆํ˜ธ ๊ฒ€์ฆ ํ•„ํ„ฐ

DelegatingFilterProxy

  • ๊ธฐ๋ณธ์ ์œผ๋กœ ๋“ฑ๋ก๋œ Filter
  • FilterChainProxy
    • DispatcherServlet ๋А๋‚Œ

AccessDecisionManager

  • Access Control ๊ฒฐ์ •์„ ๋‚ด๋ฆฌ๋Š” ์ธํ„ฐํŽ˜์ด์Šค
    • ์ถ”์ƒํ™” ๊ฐ์ฒด : ใ…  AbstractAccessDecisionManager
    • AffirmativeBased : 1๋ช…์ด๋ผ๋„..
    • ConsensusBased : ๋‹ค์ˆ˜๊ฒฐ
    • ๋งŒ์žฅ์ผ์น˜๋„ ์žˆ์Œ
  • AccessDecisionVoter
    • Resource์— ํ•„์š”ํ•œ ์กฐ๊ฑด์„ ๋งŒ์กฑํ•˜๋Š”์ง€ ํ™•์ธํ•˜๋Š” ์ฑ…์ž„
    • WebExpressionVoter

FilterSecurityInterceptor

  • AbstractSecurityInterceptor
  • AccessDescisionManager ์ฒ˜๋ฆฌ

ExceptionTranslationFilter

  • AuthenticationException
    • AuthenticationEntryPoint
  • AccessDeniedException
    • ์ต๋ช…์‚ฌ์šฉ์ž -> AuthenticationEntryPoint
    • ์‚ฌ์šฉ์ž -> AccessDeniedHandler ์œ„์ž„

About

๐Ÿ” Introducing Spring Security

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published