From ecbfac2ff874acb1ec78aaaef90b8cc2897e952b Mon Sep 17 00:00:00 2001 From: Ben Alex Date: Tue, 17 May 2005 11:07:00 +0000 Subject: [PATCH] Made AclEntry Serializable (correct issue with BasicAclEntryCache). --- core/src/main/java/org/acegisecurity/acl/AclEntry.java | 4 +++- doc/xdocs/changes.xml | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/org/acegisecurity/acl/AclEntry.java b/core/src/main/java/org/acegisecurity/acl/AclEntry.java index b6c2af521c..117c0b0f68 100644 --- a/core/src/main/java/org/acegisecurity/acl/AclEntry.java +++ b/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 {} diff --git a/doc/xdocs/changes.xml b/doc/xdocs/changes.xml index 3aa2410f48..857b84f608 100644 --- a/doc/xdocs/changes.xml +++ b/doc/xdocs/changes.xml @@ -27,6 +27,7 @@ ContextHolder refactored and replaced by SecurityContextHolder + Made AclEntry Serializable (correct issue with BasicAclEntryCache) Changed order of credentials verification and expiry checking in DaoAuthenticationProvider. Password must now be successfully verified before expired credentials are reported. AnonymousProcessingFilter offers protected method to control when it should execute AbstractAuthenticationToken.getName() now returns username alone if UserDetails present