|
|
@ -9,6 +9,7 @@ import javax.annotation.Resource;
|
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
import org.springframework.web.servlet.LocaleResolver;
|
|
|
|
import org.springframework.web.servlet.LocaleResolver;
|
|
|
|
import org.springframework.web.servlet.ModelAndView;
|
|
|
|
import org.springframework.web.servlet.ModelAndView;
|
|
|
|
|
|
|
|
|
|
|
@ -26,6 +27,7 @@ import cokr.xit.foundation.component.ServiceRequest;
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* <p>AccessInitializer가 동작하려면 인터셉터로 설정해야 한다.</p>
|
|
|
|
* <p>AccessInitializer가 동작하려면 인터셉터로 설정해야 한다.</p>
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Component("accessInitializer")
|
|
|
|
public class AccessInitializer extends RequestInterceptor {
|
|
|
|
public class AccessInitializer extends RequestInterceptor {
|
|
|
|
@Resource(name="applicationContainer")
|
|
|
|
@Resource(name="applicationContainer")
|
|
|
|
protected ApplicationContainer applicationContainer;
|
|
|
|
protected ApplicationContainer applicationContainer;
|
|
|
|