cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Marking OAuthAuthorizationData request params as transient
Date Mon, 15 Feb 2016 14:32:13 GMT
Repository: cxf
Updated Branches:
  refs/heads/master e0ff97340 -> 89afdc2d8


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

Branch: refs/heads/master
Commit: 89afdc2d82b578d31ae0b0f9c7dde426446b6663
Parents: e0ff973
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 14:31:58 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/89afdc2d/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 9d169f1..278303f 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