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 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() {
|
||||
|
|
Loading…
Reference in New Issue