SEC-542: Made SessionInformation serializable. Also remove unused default constructor.

This commit is contained in:
Luke Taylor 2007-08-30 21:38:07 +00:00
parent 0adf0d6f1c
commit c021bf4682
1 changed files with 2 additions and 3 deletions

View File

@ -18,6 +18,7 @@ package org.acegisecurity.concurrent;
import org.springframework.util.Assert; import org.springframework.util.Assert;
import java.util.Date; import java.util.Date;
import java.io.Serializable;
/** /**
@ -32,7 +33,7 @@ import java.util.Date;
* @author Ben Alex * @author Ben Alex
* @version $Id$ * @version $Id$
*/ */
public class SessionInformation { public class SessionInformation implements Serializable {
//~ Instance fields ================================================================================================ //~ Instance fields ================================================================================================
private Date lastRequest; private Date lastRequest;
@ -51,8 +52,6 @@ public class SessionInformation {
this.lastRequest = lastRequest; this.lastRequest = lastRequest;
} }
private SessionInformation() {}
//~ Methods ======================================================================================================== //~ Methods ========================================================================================================
public void expireNow() { public void expireNow() {