Permalink
Browse files

SECOAUTH-353: add Serializable to DefaultAccessTokenRequest

  • Loading branch information...
1 parent 5ce24c4 commit 69a39f33e7aff6c38fd88add486ef039a052a803 @dsyer dsyer committed Nov 19, 2012
@@ -15,6 +15,8 @@
*/
public class DefaultOAuth2ClientContext implements OAuth2ClientContext, Serializable {
+ private static final long serialVersionUID = 914967629530462926L;
+
private OAuth2AccessToken accessToken;
private AccessTokenRequest accessTokenRequest;
@@ -15,6 +15,7 @@
*/
package org.springframework.security.oauth2.client.token;
+import java.io.Serializable;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
@@ -32,7 +33,9 @@
* @author Dave Syer
*
*/
-public class DefaultAccessTokenRequest implements AccessTokenRequest {
+public class DefaultAccessTokenRequest implements AccessTokenRequest, Serializable {
+
+ private static final long serialVersionUID = 914967629530462926L;
private final MultiValueMap<String, String> parameters = new LinkedMultiValueMap<String, String>();

0 comments on commit 69a39f3

Please sign in to comment.