Permalink
Browse files

SECOAUTH-300: make OAuth2AuthenticationDetails Serializable

  • Loading branch information...
1 parent b83bd4e commit ac9dc63731abe848bdb270dd0fde1f10107d1308 @dsyer dsyer committed Jul 6, 2012
@@ -13,6 +13,8 @@
package org.springframework.security.oauth2.provider.authentication;
+import java.io.Serializable;
+
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
@@ -22,8 +24,10 @@
* @author Dave Syer
*
*/
-public class OAuth2AuthenticationDetails {
+public class OAuth2AuthenticationDetails implements Serializable {
+ private static final long serialVersionUID = -4809832298438307309L;
+
public static final String ACCESS_TOKEN_VALUE = OAuth2AuthenticationDetails.class.getSimpleName() + ".ACCESS_TOKEN_VALUE";
private final String remoteAddress;

0 comments on commit ac9dc63

Please sign in to comment.