01: /*
02: * Created on Nov 15, 2005
03: */
04: package uk.org.ponder.rsf.state;
05:
06: import java.io.Serializable;
07: import java.util.Date;
08:
09: /** A base class for all state stored under a token */
10: public class TokenState implements Serializable {
11: /** The names of the two fields below, so that they may be avoided by
12: * client-based storage schemes.
13: */
14: public static final String TOKEN_ID = "tokenID";
15: public static final String EXPIRY = "expiry";
16: /** The token ID under which this state is stored (for server-side storage) **/
17: public String tokenID;
18: /** The expiry date of this state (for server-side storage) **/
19: public Date expiry;
20: public Object payload;
21: }
|