我使用 Spring-boot,Spring Data JPA,基本身份验证和RESTFul webservices
完成了服务器端应用程序当我从客户端应用程序(AngularJS)进行身份验证(登录 - http://localhost:8080/server-side/login
或注销 - http://localhost:8080/server-side/logout
)时,它正在按预期工作。
但如果我为登录http://localhost:8080/server-side/login提供了错误的凭据,我的浏览器会要求输入登录凭据。
但我希望它必须由我的应用程序处理而不是我的浏览器。
我按照教程http://websystique.com/spring-security/secure-spring-rest-api-using-basic-authentication/
进行了操作