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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to