Skip to content

Commit

Permalink
Changing logging type to give warning for basic auth with no creds (#…
Browse files Browse the repository at this point in the history
…2347) (#2364)

Signed-off-by: Abhi Kalra <[email protected]>
(cherry picked from commit a0a71da)

Co-authored-by: Abhi Kalra <[email protected]>
Co-authored-by: Craig Perkins <[email protected]>
  • Loading branch information
3 people authored Dec 22, 2022
1 parent 9099402 commit dff0c1d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ public boolean authenticate(final RestRequest request, final RestChannel channel

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

0 comments on commit dff0c1d

Please sign in to comment.