quantranhong1999 commented on code in PR #1743:
URL: https://github.com/apache/james-project/pull/1743#discussion_r1365069591
##########
protocols/imap/src/main/java/org/apache/james/imap/processor/AbstractAuthProcessor.java:
##########
@@ -100,6 +100,7 @@ protected void doAuth(AuthenticationAttempt
authenticationAttempt, ImapSession s
session.stopDetectingCommandInjection();
} catch (BadCredentialsException e) {
authFailure = true;
+ LOGGER.info("User {} failed authentication",
authenticationAttempt.getAuthenticationId().asString());
Review Comment:
Likely my suggestion above missed the proxy protocol.
@thanhbv200585 let's have a look at
https://github.com/apache/james-project/blob/master/server/protocols/protocols-imap4/src/main/java/org/apache/james/imapserver/netty/IMAPMDCContext.java#L45
and adapt the implementation in `NettyImapSession`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]