Skip to content

Commit

Permalink
[Backport 2.x] Change log message from warning to trace on WWW-Authen…
Browse files Browse the repository at this point in the history
…ticate challenge (#3446)

Backport a41638b from #3364.

Signed-off-by: Priyank Bagrecha <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Priyank Bagrecha <[email protected]>
  • Loading branch information
3 people authored Oct 3, 2023
1 parent d995daf commit d7d8472
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,9 @@ && isBlocked(((InetSocketAddress) request.getHttpChannel().getRemoteAddress()).g

if (authDomain.isChallenge() && httpAuthenticator.reRequestAuthentication(channel, null)) {
auditLog.logFailedLogin("<NONE>", false, null, request);
log.warn("No 'Authorization' header, send 401 and 'WWW-Authenticate Basic'");
if (isTraceEnabled) {
log.trace("No 'Authorization' header, send 401 and 'WWW-Authenticate Basic'");
}
return false;
} else {
// no reRequest possible
Expand Down

0 comments on commit d7d8472

Please sign in to comment.