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:35:36 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes 9245fcb39 -> 6325c28b9


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

Branch: refs/heads/3.1.x-fixes
Commit: 6325c28b959e4ad016b1aa38b3d51167774c5cb0
Parents: 9245fcb
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:35:15 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/6325c28b/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 0e66e96..1b9d293 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