diff --git a/web/src/main/java/org/springframework/security/web/authentication/www/BasicAuthenticationFilter.java b/web/src/main/java/org/springframework/security/web/authentication/www/BasicAuthenticationFilter.java index e5fc91940c..853e99874c 100644 --- a/web/src/main/java/org/springframework/security/web/authentication/www/BasicAuthenticationFilter.java +++ b/web/src/main/java/org/springframework/security/web/authentication/www/BasicAuthenticationFilter.java @@ -183,7 +183,7 @@ public class BasicAuthenticationFilter extends OncePerRequestFilter { SecurityContextHolder.clearContext(); if (debug) { - this.logger.debug("Authentication request for failed: " + failed); + this.logger.debug("Authentication request for failed!", failed); } this.rememberMeServices.loginFail(request, response);