cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Fixing OIDC test
Date Mon, 18 Jul 2016 11:41:12 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes 997521186 -> fc54df195


Fixing OIDC test


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/fc54df19
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/fc54df19
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/fc54df19

Branch: refs/heads/3.1.x-fixes
Commit: fc54df19531b8071c2cc240b40cb1bfd1d28dec1
Parents: 9975211
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Mon Jul 18 14:39:14 2016 +0300
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Mon Jul 18 14:40:57 2016 +0300

----------------------------------------------------------------------
 .../cxf/rs/security/oauth2/client/ClientCodeRequestFilter.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/fc54df19/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/client/ClientCodeRequestFilter.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/client/ClientCodeRequestFilter.java
b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/client/ClientCodeRequestFilter.java
index f7acf0a..deefe61 100644
--- a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/client/ClientCodeRequestFilter.java
+++ b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/client/ClientCodeRequestFilter.java
@@ -135,7 +135,7 @@ public class ClientCodeRequestFilter implements ContainerRequestFilter
{
             }
         }
         // Finally compare start URI with the request URI
-        return startUri == null || absoluteRequestUri.endsWith(startUri);
+        return startUri != null && absoluteRequestUri.endsWith(startUri);
     }
 
     private boolean codeResponseQueryParamsAvailable(MultivaluedMap<String, String>
queries) {


Mime
View raw message