Browse Source

SEC-110: ProviderManager to properly handle ConcurrentLoginException.

Ben Alex 20 năm trước cách đây
mục cha
commit
47166fe078

+ 1 - 0
core/src/main/java/org/acegisecurity/providers/ProviderManager.java

@@ -258,6 +258,7 @@ public class ProviderManager extends AbstractAuthenticationManager
                     sessionController.checkAuthenticationAllowed(result);
                 } catch (AuthenticationException ae) {
                     lastException = ae;
+                    result = null;
                 }
 
                 if (result != null) {