cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject [2/3] cxf git commit: Marking OAuthAuthorizationData request params as transient
Date Mon, 15 Feb 2016 17:55:02 GMT
Marking OAuthAuthorizationData request params as transient


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

Branch: refs/heads/3.1.x-fixes
Commit: 4463a7be5363bc38d9088c154d7a80a399acf4fa
Parents: b0cfaad
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Mon Feb 15 14:31:58 2016 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Mon Feb 15 17:54:38 2016 +0000

----------------------------------------------------------------------
 .../cxf/rs/security/oauth2/common/OAuthAuthorizationData.java      | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/4463a7be/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/common/OAuthAuthorizationData.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/common/OAuthAuthorizationData.java
b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/common/OAuthAuthorizationData.java
index 08e5a5a..37b38f4 100644
--- a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/common/OAuthAuthorizationData.java
+++ b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/common/OAuthAuthorizationData.java
@@ -27,6 +27,7 @@ import java.util.Map;
 
 import javax.ws.rs.core.MultivaluedMap;
 import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlTransient;
 
 import org.apache.cxf.rs.security.oauth2.utils.OAuthUtils;
 
@@ -259,6 +260,7 @@ public class OAuthAuthorizationData extends OAuthRedirectionState implements
Ser
         return allPerms;
     }
 
+    @XmlTransient
     public MultivaluedMap<String, String> getRequestParameters() {
         return requestParameters;
     }


Mime
View raw message