SEC-542: Made SessionInformation serializable. Also remove unused default constructor.
This commit is contained in:
parent
0adf0d6f1c
commit
c021bf4682
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue