Skip to content

Commit

Permalink
Remove log statement
Browse files Browse the repository at this point in the history
  • Loading branch information
KochTobi committed Aug 8, 2024
1 parent 4395e40 commit 9d32dec
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,10 @@ protected void doFilterInternal(HttpServletRequest request, HttpServletResponse
return;
}
var authentication = new QBiCTokenAuthenticationRequest(token);
logger.trace("Trying to authenticate token " + authentication.getToken());
logger.trace("Trying to authenticate token.");
Authentication authenticatedAuthentication = authenticationManager.authenticate(authentication);
// We need to save the authentication to the context as described in https://github.com/spring-projects/spring-security/issues/12758#issuecomment-1443729881
logger.trace("Successfully authenticated token.");
SecurityContext context = securityContextHolderStrategy.createEmptyContext();
context.setAuthentication(authenticatedAuthentication);
securityContextHolderStrategy.setContext(context);
Expand Down

0 comments on commit 9d32dec

Please sign in to comment.