|
|
|
@ -12,6 +12,7 @@ import org.springframework.security.config.annotation.web.configuration.EnableWe
|
|
|
|
|
import org.springframework.security.config.annotation.web.configuration.WebSecurityCustomizer;
|
|
|
|
|
import org.springframework.security.web.SecurityFilterChain;
|
|
|
|
|
import org.springframework.security.web.access.intercept.RequestAuthorizationContext;
|
|
|
|
|
import org.springframework.security.web.session.HttpSessionEventPublisher;
|
|
|
|
|
|
|
|
|
|
import cokr.xit.base.security.access.ApplicationAccess;
|
|
|
|
|
import cokr.xit.base.security.authentication.service.bean.AuthenticationServiceBean;
|
|
|
|
@ -34,6 +35,11 @@ public class SecurityConfig {
|
|
|
|
|
@Resource(name = "staticResource")
|
|
|
|
|
private StaticResourceConfig staticResource;
|
|
|
|
|
|
|
|
|
|
@Bean
|
|
|
|
|
public HttpSessionEventPublisher listener() {
|
|
|
|
|
return new HttpSessionEventPublisher();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**SecurityFilterChain을 반환한다.
|
|
|
|
|
* @param http http-security 설정
|
|
|
|
|
* @return SecurityFilterChain
|
|
|
|
|