edu.internet2.middleware.shibboleth.idp.session.impl
Class SessionManagerEntry

java.lang.Object
  extended by org.opensaml.util.storage.AbstractExpiringObject
      extended by edu.internet2.middleware.shibboleth.idp.session.impl.SessionManagerEntry
All Implemented Interfaces:
Serializable, ExpiringObject

public class SessionManagerEntry
extends AbstractExpiringObject

Session store entry.

See Also:
Serialized Form

Field Summary
private  List<String> indexes
          Indexes for this session.
private static long serialVersionUID
          Serial version UID.
private  Session userSession
          User's session.
 
Constructor Summary
SessionManagerEntry(Session session, long lifetime)
          Constructor.
 
Method Summary
 org.joda.time.DateTime getExpirationTime()
          
 Session getSession()
          Gets the user session.
 String getSessionId()
          Gets the ID of the user session.
 List<String> getSessionIndexes()
          Gets the list of indexes for this session.
 
Methods inherited from class org.opensaml.util.storage.AbstractExpiringObject
isExpired, onExpire
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial version UID.

See Also:
Constant Field Values

userSession

private Session userSession
User's session.


indexes

private List<String> indexes
Indexes for this session.

Constructor Detail

SessionManagerEntry

public SessionManagerEntry(Session session,
                           long lifetime)
Constructor.

Parameters:
session - user session
lifetime - lifetime of session
Method Detail

getSession

public Session getSession()
Gets the user session.

Returns:
user session

getSessionId

public String getSessionId()
Gets the ID of the user session.

Returns:
ID of the user session

getSessionIndexes

public List<String> getSessionIndexes()
Gets the list of indexes for this session.

Returns:
list of indexes for this session

getExpirationTime

public org.joda.time.DateTime getExpirationTime()

Specified by:
getExpirationTime in interface ExpiringObject
Overrides:
getExpirationTime in class AbstractExpiringObject


Copyright © 1999-2012. All Rights Reserved.