You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by bt...@apache.org on 2020/06/02 08:41:46 UTC

[james-project] 01/07: JAMES-3093 Apply JWT authntication strategy before access token one

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

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

commit 0ace0860a9a4b44c3f992f7f52d65e3e919a5b09
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Mon Jun 1 09:14:17 2020 +0700

    JAMES-3093 Apply JWT authntication strategy before access token one
---
 .../src/main/java/org/apache/james/jmap/draft/DraftMethodsModule.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/container/guice/protocols/jmap/src/main/java/org/apache/james/jmap/draft/DraftMethodsModule.java b/server/container/guice/protocols/jmap/src/main/java/org/apache/james/jmap/draft/DraftMethodsModule.java
index 18edfe4..72488fd 100644
--- a/server/container/guice/protocols/jmap/src/main/java/org/apache/james/jmap/draft/DraftMethodsModule.java
+++ b/server/container/guice/protocols/jmap/src/main/java/org/apache/james/jmap/draft/DraftMethodsModule.java
@@ -102,8 +102,8 @@ public class DraftMethodsModule extends AbstractModule {
                                        JWTAuthenticationStrategy jwtAuthenticationStrategy,
                                        QueryParameterAccessTokenAuthenticationStrategy queryParameterAuthenticationStrategy) {
         return Authenticator.of(metricFactory,
-            accessTokenAuthenticationStrategy,
             jwtAuthenticationStrategy,
+            accessTokenAuthenticationStrategy,
             queryParameterAuthenticationStrategy);
     }
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org