How do you enable LocaleInterceptor to change the locale in spring-security login page?

前端 未结 3 1179
慢半拍i
慢半拍i 2021-02-09 14:55

Pardon me if this question has been asked before, but I haven\'t gotten a straight answer that helped me solve my problem. I have a gwt application that I have secured using sp

3条回答
  •  面向向阳花
    2021-02-09 15:21

    The LocaleChangeInterceptor is a part of Spring MVC and that means they don't come in picture in spring security filters. You will have to set locale yourself within the filter chain. Please also see Spring Security/SEC-1527: Internationalize one of the sample applications

提交回复
热议问题