소스 검색

SEC-1553: Make WebAuthenticationDetails serializable

Luke Taylor 15 년 전
부모
커밋
b0998c01bc
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      web/src/main/java/org/springframework/security/web/authentication/WebAuthenticationDetails.java

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

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