Make Authentication serializable (Weblogic support).

This commit is contained in:
Ben Alex 2004-07-12 22:40:33 +00:00
parent 957e28252e
commit 491fb00ffd
2 changed files with 5 additions and 1 deletions

View File

@ -3,6 +3,8 @@ Changes in version 0.6 (2004-xx-xx)
* Added feature so DaoAuthenticationProvider returns User in Authentication * Added feature so DaoAuthenticationProvider returns User in Authentication
* Added AbstractIntegrationFilter.secureContext property for custom contexts * 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 * Refactored User to UserDetails interface
* Improved organisation of DaoAuthenticationProvider to facilitate subclassing * Improved organisation of DaoAuthenticationProvider to facilitate subclassing
* Fixed Linux compatibility issues (directory case sensitivity etc) * Fixed Linux compatibility issues (directory case sensitivity etc)

View File

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