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

throw new UsernameNotFoundException(null)即可

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