spring security通过UserDetailsService方式当找不到用户时兼容i18n方法

throw new UsernameNotFoundException(null)即可

posted @ 2020-05-05 10:44  风的低吟  阅读(491)  评论(0)    收藏  举报