org.activemath.webapp.base
Class AuthToken

java.lang.Object
  extended by org.activemath.webapp.base.AuthToken
All Implemented Interfaces:
Comparable<AuthToken>

public class AuthToken
extends Object
implements Comparable<AuthToken>

Authentication Token


Method Summary
 int compareTo(AuthToken t2)
          order by creation time, then id
 AppSession getAppSession()
           
 long getCreationTime()
           
 long getExpiryTime()
           
 String getId()
           
 void setAppSession(AppSession appSession)
           
 void setExpiryTime(long expiryTime)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

compareTo

public int compareTo(AuthToken t2)
order by creation time, then id

Specified by:
compareTo in interface Comparable<AuthToken>

toString

public String toString()
Overrides:
toString in class Object

getExpiryTime

public long getExpiryTime()

setExpiryTime

public void setExpiryTime(long expiryTime)

getAppSession

public AppSession getAppSession()

setAppSession

public void setAppSession(AppSession appSession)

getId

public String getId()

getCreationTime

public long getCreationTime()