Bläddra i källkod

SEC-1553: Make WebAuthenticationDetails serializable

Luke Taylor 15 år sedan
förälder
incheckning
b0998c01bc

+ 2 - 1
web/src/main/java/org/springframework/security/web/authentication/WebAuthenticationDetails.java

@@ -15,6 +15,7 @@
 
 
 package org.springframework.security.web.authentication;
 package org.springframework.security.web.authentication;
 
 
+import java.io.Serializable;
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpSession;
 import javax.servlet.http.HttpSession;
 
 
@@ -24,7 +25,7 @@ import javax.servlet.http.HttpSession;
  *
  *
  * @author Ben Alex
  * @author Ben Alex
  */
  */
-public class WebAuthenticationDetails {
+public class WebAuthenticationDetails implements Serializable {
     //~ Instance fields ================================================================================================
     //~ Instance fields ================================================================================================
 
 
     private final String remoteAddress;
     private final String remoteAddress;