This is an automated email from the ASF dual-hosted git repository.

chibenwa pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 9adeef0b66e4caa1ba1d94aff3c3a68d7cbfc454
Author: Quan Tran <[email protected]>
AuthorDate: Mon Jun 29 11:09:00 2026 +0700

    JAMES-4210 Fix failing JPAJamesServerTest
---
 .../src/main/java/org/apache/james/JPAJamesServerMain.java             | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/server/apps/jpa-smtp-app/src/main/java/org/apache/james/JPAJamesServerMain.java
 
b/server/apps/jpa-smtp-app/src/main/java/org/apache/james/JPAJamesServerMain.java
index a48faf5fac..572f946ac2 100644
--- 
a/server/apps/jpa-smtp-app/src/main/java/org/apache/james/JPAJamesServerMain.java
+++ 
b/server/apps/jpa-smtp-app/src/main/java/org/apache/james/JPAJamesServerMain.java
@@ -19,7 +19,9 @@
 
 package org.apache.james;
 
+import org.apache.james.adapter.mailbox.UserRepositoryAuthenticator;
 import org.apache.james.data.UsersRepositoryModuleChooser;
+import org.apache.james.mailbox.Authenticator;
 import org.apache.james.modules.LegacyEncryptionModule;
 import org.apache.james.modules.MailetProcessingModule;
 import org.apache.james.modules.RunArgumentsModule;
@@ -66,6 +68,7 @@ public class JPAJamesServerMain implements JamesServerMain {
         new JPADataModule(),
         new ActiveMQQueueModule(),
         new RawPostDequeueDecoratorModule(),
+        binder -> 
binder.bind(Authenticator.class).to(UserRepositoryAuthenticator.class),
         new JPAAuthorizatorModule());
 
     public static void main(String[] args) throws Exception {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to