cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Minor follow up update
Date Mon, 16 Nov 2015 13:42:15 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 8c104d326 -> 528aa43d8


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/528aa43d
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/528aa43d
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/528aa43d

Branch: refs/heads/master
Commit: 528aa43d838f24996768e08d980327ec1ab87e67
Parents: 8c104d3
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:42:00 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/528aa43d/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