You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by hq...@apache.org on 2026/07/06 02:18:03 UTC
(james-project) 09/11: JAMES-4195 Correctly provide JMAPOidcConfiguration bean
This is an automated email from the ASF dual-hosted git repository.
quantranhong1999 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 2c5c9bd4827e01fa9e473281e3aff18efa732a0d
Author: Quan Tran <hq...@linagora.com>
AuthorDate: Fri Jul 3 15:32:38 2026 +0700
JAMES-4195 Correctly provide JMAPOidcConfiguration bean
---
.../src/main/java/org/apache/james/jmap/oidc/JMAPOidcModule.java | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/server/container/guice/protocols/jmap/src/main/java/org/apache/james/jmap/oidc/JMAPOidcModule.java b/server/container/guice/protocols/jmap/src/main/java/org/apache/james/jmap/oidc/JMAPOidcModule.java
index 70bf033027..ec53c913a6 100644
--- a/server/container/guice/protocols/jmap/src/main/java/org/apache/james/jmap/oidc/JMAPOidcModule.java
+++ b/server/container/guice/protocols/jmap/src/main/java/org/apache/james/jmap/oidc/JMAPOidcModule.java
@@ -42,6 +42,12 @@ public class JMAPOidcModule extends AbstractModule {
bind(TokenInfoResolver.class).to(OidcEndpointsInfoResolver.class);
}
+ @Provides
+ @Singleton
+ JMAPOidcConfiguration provideJMAPOidcConfiguration(PropertiesProvider propertiesProvider) throws ConfigurationException, FileNotFoundException {
+ return JMAPOidcConfiguration.parseConfiguration(propertiesProvider);
+ }
+
@Provides
@Named("userInfo")
URL provideUserInfoEndpoint(JMAPOidcConfiguration configuration) {
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org