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
Signed-off-by: Abhi Kalra <[email protected]>
  • Loading branch information
Abhi Kalra committed Dec 14, 2022
1 parent aad9379 commit 54c8e92
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 54c8e92

Please sign in to comment.