我的 Spring Security 自定义登录表单正在工作。如果用户输入了错误的凭据或过期等,它会显示错误。
查看 spring-security-core-2.0.5.RELEASE.jar 内部,我注意到 org.springframework.security 包中的以下文件:
messages.properties messages_cs_CZ.properties messages_de.properties messages_fr.properties ...等...
并注意它们具有字符串的本地化版本。
将浏览器的首选语言设置为法语不会使字符串的法语版本出现。我错过了什么?
PUK