spring-security

A Custom Filter in the Spring Security Filter Chain

張's blog 2021. 9. 7. 15:38


https://zzangjava.tistory.com/m/934



https://www.baeldung.com/spring-security-custom-filter

public CustomFilter extends GenericFilterBean
OR
extends OncePerRequest

- custom filter SessionAuthenticationStrategy 설정

org.springframework.security.config.annotation.web.SessionManagementConfigurergetSessionAuthenticationStrategy 메소드의 delegateStrategies 변수 참고하여 customFilter에 넣어줘야 함
(
다른 방법 없나??)

https://docs.spring.io/spring-security/site/docs/current/reference/html5/#concurrent-sessions

https://docs.spring.io/spring-security/site/docs/3.0.x/reference/session-mgmt.html

https://stackoverflow.com/questions/65182973/not-able-to-implement-session-limiting-in-spring-security-with-custom-filter