Skip to content

Commit

Permalink
Adapt James after migrate
Browse files Browse the repository at this point in the history
  • Loading branch information
vttranlina committed Nov 4, 2024
1 parent 7505793 commit 203b5f0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import org.apache.james.imap.api.message.request.ImapRequest;
import org.apache.james.imap.api.message.response.StatusResponseFactory;
import org.apache.james.imap.api.process.ImapSession;
import org.apache.james.imap.main.PathConverter;
import org.apache.james.imap.processor.AuthenticateProcessor;
import org.apache.james.mailbox.MailboxManager;
import org.apache.james.metrics.api.MetricFactory;
Expand All @@ -23,8 +24,9 @@ public class TMailAuthenticateProcessor extends AuthenticateProcessor {
private static final Logger LOGGER = LoggerFactory.getLogger(TMailAuthenticateProcessor.class);

@Inject
public TMailAuthenticateProcessor(MailboxManager mailboxManager, StatusResponseFactory factory, MetricFactory metricFactory) {
super(mailboxManager, factory, metricFactory);
public TMailAuthenticateProcessor(MailboxManager mailboxManager, StatusResponseFactory factory,
MetricFactory metricFactory, PathConverter.Factory pathConverterFactory) {
super(mailboxManager, factory, metricFactory, pathConverterFactory);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import org.apache.james.imap.api.display.HumanReadableText;
import org.apache.james.imap.api.message.response.StatusResponseFactory;
import org.apache.james.imap.api.process.ImapSession;
import org.apache.james.imap.main.PathConverter;
import org.apache.james.imap.message.request.LoginRequest;
import org.apache.james.imap.processor.LoginProcessor;
import org.apache.james.mailbox.MailboxManager;
Expand All @@ -19,8 +20,9 @@ public class TMailLoginProcessor extends LoginProcessor {
private static final String DELEGATION_SPLIT_CHARACTER = "+";

@Inject
public TMailLoginProcessor(MailboxManager mailboxManager, StatusResponseFactory factory, MetricFactory metricFactory) {
super(mailboxManager, factory, metricFactory);
public TMailLoginProcessor(MailboxManager mailboxManager, StatusResponseFactory factory,
MetricFactory metricFactory, PathConverter.Factory pathConverterFactory) {
super(mailboxManager, factory, metricFactory, pathConverterFactory);
}

@Override
Expand Down

0 comments on commit 203b5f0

Please sign in to comment.