Loggin Fix for printing the full stack trace, spring-projects/spring-security#7110
This commit is contained in:
+1
-1
@@ -132,7 +132,7 @@ public final class BearerTokenAuthenticationFilter extends OncePerRequestFilter
|
||||
SecurityContextHolder.clearContext();
|
||||
|
||||
if (debug) {
|
||||
this.logger.debug("Authentication request for failed: " + failed);
|
||||
this.logger.debug("Authentication request for failed!", failed);
|
||||
}
|
||||
|
||||
this.authenticationFailureHandler.onAuthenticationFailure(request, response, failed);
|
||||
|
||||
Reference in New Issue
Block a user