cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Trimming the custom OAuth2 client scopes value
Date Fri, 06 Nov 2015 21:36:21 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 6369afcf6 -> f61eac87f


Trimming the custom OAuth2 client scopes value


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

Branch: refs/heads/3.0.x-fixes
Commit: f61eac87fb10d583d341166145c80dd0cc6a0a04
Parents: 6369afc
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Fri Nov 6 21:34:01 2015 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Fri Nov 6 21:36:05 2015 +0000

----------------------------------------------------------------------
 .../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/f61eac87/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 b0470da..75f38a5 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
@@ -212,7 +212,7 @@ public class ClientCodeRequestFilter implements ContainerRequestFilter
{
         setScopes(sb.toString());
     }
     public void setScopes(String scopes) {
-        this.scopes = scopes;
+        this.scopes = scopes.trim();
     }
 
     public void setStartUri(String relStartUri) {


Mime
View raw message