org.benow.security.session
Class SessionImpl

java.lang.Object
  extended by org.benow.security.session.SessionImpl
All Implemented Interfaces:
Session

public class SessionImpl
extends java.lang.Object
implements Session

Author:
andy To change this generated comment go to Window>Preferences>Java>Code Generation>Code Template

Method Summary
 void expire()
           
 java.lang.Object getAttribute(java.lang.String name)
           
 java.util.Date getCreationDate()
           
 SessionKey getKey()
           
 java.util.Date getModificationDate()
           
 User getUser()
           
 void setAttribute(java.lang.String name, java.lang.Object obj)
           
 void setUser(User user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getKey

public SessionKey getKey()
Specified by:
getKey in interface Session

setAttribute

public void setAttribute(java.lang.String name,
                         java.lang.Object obj)
Specified by:
setAttribute in interface Session

getAttribute

public java.lang.Object getAttribute(java.lang.String name)
Specified by:
getAttribute in interface Session

getCreationDate

public java.util.Date getCreationDate()
Specified by:
getCreationDate in interface Session

getModificationDate

public java.util.Date getModificationDate()
Specified by:
getModificationDate in interface Session

expire

public void expire()
Specified by:
expire in interface Session

getUser

public User getUser()
Specified by:
getUser in interface Session

setUser

public void setUser(User user)
Specified by:
setUser in interface Session