Browse Source

Made AclEntry Serializable (correct issue with BasicAclEntryCache).

Ben Alex 20 years ago
parent
commit
ecbfac2ff8
2 changed files with 4 additions and 1 deletions
  1. 3 1
      core/src/main/java/org/acegisecurity/acl/AclEntry.java
  2. 1 0
      doc/xdocs/changes.xml

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

@@ -15,6 +15,8 @@
 
 package net.sf.acegisecurity.acl;
 
+import java.io.Serializable;
+
 /**
  * Marker interface representing an access control list entry associated with a
  * specific domain object instance.
@@ -22,4 +24,4 @@ package net.sf.acegisecurity.acl;
  * @author Ben Alex
  * @version $Id$
  */
-public interface AclEntry {}
+public interface AclEntry extends Serializable {}

+ 1 - 0
doc/xdocs/changes.xml

@@ -27,6 +27,7 @@
   <body>
     <release version="0.9.0" date="In CVS">
       <action dev="benalex" type="update">ContextHolder refactored and replaced by SecurityContextHolder</action>        
+      <action dev="benalex" type="fix">Made AclEntry Serializable (correct issue with BasicAclEntryCache)</action>        
       <action dev="luke_t" type="update">Changed order of credentials verification and expiry checking in DaoAuthenticationProvider. Password must now be successfully verified before expired credentials are reported. </action>        
       <action dev="benalex" type="update">AnonymousProcessingFilter offers protected method to control when it should execute</action>
       <action dev="benalex" type="fix">AbstractAuthenticationToken.getName() now returns username alone if UserDetails present</action>