|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.shibboleth.idp.session.impl.SessionManagerImpl
public class SessionManagerImpl
Manager of IdP sessions.
Constructor Summary | |
---|---|
SessionManagerImpl(org.opensaml.util.storage.StorageService<String,SessionManagerEntry> storageService,
long lifetime)
Constructor. |
|
SessionManagerImpl(org.opensaml.util.storage.StorageService<String,SessionManagerEntry> storageService,
String storageParition,
long lifetime)
Constructor. |
Method Summary | |
---|---|
Session |
createSession()
|
Session |
createSession(String principal)
|
void |
destroySession(String sessionID)
|
Session |
getSession(String sessionID)
|
boolean |
indexSession(Session session,
String index)
|
void |
onApplicationEvent(ApplicationEvent event)
|
void |
removeSessionIndex(String index)
|
void |
setApplicationContext(ApplicationContext applicationContext)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SessionManagerImpl(org.opensaml.util.storage.StorageService<String,SessionManagerEntry> storageService, long lifetime)
storageService
- service used to store sessionslifetime
- lifetime, in milliseconds, of sessionspublic SessionManagerImpl(org.opensaml.util.storage.StorageService<String,SessionManagerEntry> storageService, String storageParition, long lifetime)
storageService
- service used to store sessionstorageParition
- partition in which sessions are storedlifetime
- lifetime, in milliseconds, of sessionsMethod Detail |
---|
public Session createSession()
createSession
in interface edu.internet2.middleware.shibboleth.common.session.SessionManager<Session>
public Session createSession(String principal)
createSession
in interface edu.internet2.middleware.shibboleth.common.session.SessionManager<Session>
public void destroySession(String sessionID)
destroySession
in interface edu.internet2.middleware.shibboleth.common.session.SessionManager<Session>
public Session getSession(String sessionID)
getSession
in interface edu.internet2.middleware.shibboleth.common.session.SessionManager<Session>
public boolean indexSession(Session session, String index)
indexSession
in interface edu.internet2.middleware.shibboleth.common.session.SessionManager<Session>
public void onApplicationEvent(ApplicationEvent event)
onApplicationEvent
in interface ApplicationListener
public void removeSessionIndex(String index)
removeSessionIndex
in interface edu.internet2.middleware.shibboleth.common.session.SessionManager<Session>
public void setApplicationContext(ApplicationContext applicationContext)
setApplicationContext
in interface ApplicationContextAware
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |