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
  • Loading branch information
Abhi Kalra committed Dec 13, 2022
1 parent aad9379 commit d89a6c3
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 d89a6c3

Please sign in to comment.