Skip to content

Commit

Permalink
Remove log statement (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
KochTobi authored Aug 8, 2024
1 parent 4395e40 commit 8a8d071
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 8a8d071

Please sign in to comment.