From c021bf468250f4242abb064915d863522dcc0ec6 Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Thu, 30 Aug 2007 21:38:07 +0000 Subject: [PATCH] SEC-542: Made SessionInformation serializable. Also remove unused default constructor. --- .../org/acegisecurity/concurrent/SessionInformation.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/org/acegisecurity/concurrent/SessionInformation.java b/core/src/main/java/org/acegisecurity/concurrent/SessionInformation.java index f171f534aa..8ed25ea92b 100644 --- a/core/src/main/java/org/acegisecurity/concurrent/SessionInformation.java +++ b/core/src/main/java/org/acegisecurity/concurrent/SessionInformation.java @@ -18,6 +18,7 @@ package org.acegisecurity.concurrent; import org.springframework.util.Assert; import java.util.Date; +import java.io.Serializable; /** @@ -32,7 +33,7 @@ import java.util.Date; * @author Ben Alex * @version $Id$ */ -public class SessionInformation { +public class SessionInformation implements Serializable { //~ Instance fields ================================================================================================ private Date lastRequest; @@ -51,8 +52,6 @@ public class SessionInformation { this.lastRequest = lastRequest; } - private SessionInformation() {} - //~ Methods ======================================================================================================== public void expireNow() {