cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject [1/2] cxf git commit: Minor follow up update
Date Mon, 16 Nov 2015 13:43:20 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes ed0421182 -> 1319cddee


Minor follow up update


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

Branch: refs/heads/3.1.x-fixes
Commit: 1319cddeeca993b6c6f67a392a4807fc46e2e329
Parents: d2ed88c
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Mon Nov 16 13:42:00 2015 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Mon Nov 16 13:43:05 2015 +0000

----------------------------------------------------------------------
 .../rs/security/oauth2/services/RedirectionBasedGrantService.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/1319cdde/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.java
b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.java
index 8435cdf..887facb 100644
--- a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.java
+++ b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.java
@@ -363,7 +363,7 @@ public abstract class RedirectionBasedGrantService extends AbstractOAuthService
         
         List<String> uris = client.getRedirectUris();
         if (redirectUri != null) {
-            if (!uris.isEmpty() && !uris.contains(redirectUri)) {
+            if (!uris.contains(redirectUri)) {
                 reportInvalidRequestError("Client Redirect Uri is invalid");
             } 
         } else if (uris.size() == 1 && useRegisteredRedirectUriIfPossible) {


Mime
View raw message