NESOY / spring-security-example

πŸ” Introducing Spring Security

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Java 93.3%Language:HTML 6.7%