|
|
@ -30,8 +30,8 @@ import cokr.xit.base.security.authentication.web.AuthenticationExtraDetailsSourc
|
|
|
|
import cokr.xit.base.security.authentication.web.AuthenticationFailure;
|
|
|
|
import cokr.xit.base.security.authentication.web.AuthenticationFailure;
|
|
|
|
import cokr.xit.base.security.authentication.web.AuthenticationSuccess;
|
|
|
|
import cokr.xit.base.security.authentication.web.AuthenticationSuccess;
|
|
|
|
import cokr.xit.base.security.authentication.web.LogoutSuccess;
|
|
|
|
import cokr.xit.base.security.authentication.web.LogoutSuccess;
|
|
|
|
import cokr.xit.foundation.AbstractComponent;
|
|
|
|
|
|
|
|
import cokr.xit.foundation.boot.StaticResourceConfig;
|
|
|
|
import cokr.xit.foundation.boot.StaticResourceConfig;
|
|
|
|
|
|
|
|
import cokr.xit.foundation.component.AbstractBean;
|
|
|
|
import cokr.xit.foundation.web.ExceptionController;
|
|
|
|
import cokr.xit.foundation.web.ExceptionController;
|
|
|
|
|
|
|
|
|
|
|
|
/**spring security 관련 설정 클래스
|
|
|
|
/**spring security 관련 설정 클래스
|
|
|
@ -39,7 +39,7 @@ import cokr.xit.foundation.web.ExceptionController;
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Configuration
|
|
|
|
@Configuration
|
|
|
|
@EnableWebSecurity
|
|
|
|
@EnableWebSecurity
|
|
|
|
public class SecurityConfig extends AbstractComponent {
|
|
|
|
public class SecurityConfig extends AbstractBean {
|
|
|
|
@Autowired
|
|
|
|
@Autowired
|
|
|
|
private ExceptionController exceptionController;
|
|
|
|
private ExceptionController exceptionController;
|
|
|
|
@Resource(name = "staticResource")
|
|
|
|
@Resource(name = "staticResource")
|
|
|
|