我正在使用Spring-MVC构建一个Angular2应用程序。我用SpringSecurity添加了身份验证,当我用postman查询我的REST服务器时,一切都很好。当我在Angular2中将Authorization添加到我的头文件中时,我得到了一个401错误。The response had HTTP status code 401@Inje
我正在处理应用程序,以了解更多关于jwt身份验证的知识,但我在注册时遇到了问题。我将antMatchers中的注册url放到permittAll中,但它不起作用。} logger.error("Could not set user authentication in securitysendError(HttpServletResponse.SC_UNAUTHORIZED