cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [04/42] cxf git commit: Fixing OIDC test
Date Tue, 26 Jul 2016 00:41:09 GMT
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/575dc4dd
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/575dc4dd
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/575dc4dd

Branch: refs/heads/master-jaxrs-2.1
Commit: 575dc4dda5e6cf038220b0d5807d6d948999cf28
Parents: 31826a3
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:39:14 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/575dc4dd/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 3576c9d..a0d82b3 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