spring actuator 안전하게 사용하기
https://techblog.woowahan.com/9232/
스프링
2024. 5. 24. 13:53
[인터셉터] 웹 프로젝트 무한 리다이렉트 시 확인사항
# 인터셉터 prehandle method 에서 response.sendRedirect method 사용시 주의 사항 - 웹 프로젝트 인 경우 동적 파일을 읽어 올 수 있어 동적 파일 URL은 인터셉터에서 제외 시켜줘야 한다 ex) /static/** 추가 @Override public void addInterceptors(InterceptorRegistry registry) { registry.addInterceptor(authInterceptor) .addPathPatterns("/*/*/*") .addPathPatterns("/*/*") .addPathPatterns("/*") .excludePathPatterns("/error") .excludePathPatterns("/static/**") .e..
스프링
2024. 1. 11. 18:18