我在我的Java项目security和MongoDB中使用了它。authenticationManager.authenticate(authentication);org.springframework.security.authentication.BadCredentialsException: Bad credentials
下面是到MongoDB的</e
但是当我提供错误的密码时,我的安卓应用程序就会崩溃,因为java.net.ProtocolException: Too many follow-up requests: 21会被抛出。登录一次失败,因此它被重定向到登录页面,当它一次又一次发送错误的凭据时,会被重定向.
我的问题1:如何正确处理Android和/或Spring上的登录失败?我的</