Created
March 2, 2012 10:54
-
-
Save anismiles/1957700 to your computer and use it in GitHub Desktop.
dummy session bean
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.strumsoft.api; | |
import java.io.Serializable; | |
import java.util.Date; | |
/** | |
* @author "Animesh Kumar <animesh@strumsoft.com>" | |
* | |
*/ | |
public class Session implements Serializable { | |
// | |
private static final long serialVersionUID = -7483170872690892182L; | |
private String sessionId; // id | |
private String userId; // user | |
private boolean active; // session active? | |
private boolean secure; // session secure? | |
private Date createTime; // session create time | |
private Date lastAccessedTime; // session last use time | |
// getters/setters here | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment