浏览代码

Make Authentication serializable (Weblogic support).

Ben Alex 21 年之前
父节点
当前提交
491fb00ffd
共有 2 个文件被更改,包括 5 次插入1 次删除
  1. 2 0
      changelog.txt
  2. 3 1
      core/src/main/java/org/acegisecurity/Authentication.java

+ 2 - 0
changelog.txt

@@ -3,6 +3,8 @@ Changes in version 0.6 (2004-xx-xx)
 
 * Added feature so DaoAuthenticationProvider returns User in Authentication
 * Added AbstractIntegrationFilter.secureContext property for custom contexts
+* Added stack trace logging to SecurityEnforcementFilter
+* Updated Authentication to be serializable (Weblogic support)
 * Refactored User to UserDetails interface
 * Improved organisation of DaoAuthenticationProvider to facilitate subclassing
 * Fixed Linux compatibility issues (directory case sensitivity etc)

+ 3 - 1
core/src/main/java/org/acegisecurity/Authentication.java

@@ -15,6 +15,8 @@
 
 package net.sf.acegisecurity;
 
+import java.io.Serializable;
+
 import java.security.Principal;
 
 
@@ -33,7 +35,7 @@ import java.security.Principal;
  * @author Ben Alex
  * @version $Id$
  */
-public interface Authentication extends Principal {
+public interface Authentication extends Principal, Serializable {
     //~ Methods ================================================================
 
     public void setAuthenticated(boolean isAuthenticated);