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:34:20 GMT
Repository: cxf
Updated Branches:
  refs/heads/master ced98c6e9 -> 1dd9c4643


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

Branch: refs/heads/master
Commit: 1dd9c4643c4ad5cdba359a8b23a9793c56fce393
Parents: ced98c6
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:34:01 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/1dd9c464/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