cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject [2/2] cxf git commit: Store previous params in the new map, allow them to be overwritten by request params
Date Wed, 17 Feb 2016 16:40:59 GMT
Store previous params in the new map, allow them to be overwritten by request params


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

Branch: refs/heads/3.0.x-fixes
Commit: 36f19c44cbe3b852655189cd07e7269675295adb
Parents: 0f2e948
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Wed Feb 17 16:19:23 2016 +0000
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Wed Feb 17 16:38:01 2016 +0000

----------------------------------------------------------------------
 .../cxf/rs/security/oauth2/grants/code/JwtRequestCodeFilter.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/36f19c44/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/code/JwtRequestCodeFilter.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/code/JwtRequestCodeFilter.java
b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/code/JwtRequestCodeFilter.java
index 893e9ff..915e76a 100644
--- a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/code/JwtRequestCodeFilter.java
+++ b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/code/JwtRequestCodeFilter.java
@@ -83,7 +83,7 @@ public class JwtRequestCodeFilter extends AbstractOAuthJoseJwtConsumer implement
                 throw new SecurityException();
             }
             
-            MultivaluedMap<String, String> newParams = new MetadataMap<String, String>();
+            MultivaluedMap<String, String> newParams = new MetadataMap<String, String>(params);
             Map<String, Object> claimsMap = claims.asMap();
             for (Map.Entry<String, Object> entry : claimsMap.entrySet()) {
                 String key = entry.getKey();


Mime
View raw message