public final class HashMapBackedSessionMappingStorage extends Object implements SessionMappingStorage
| Constructor and Description |
|---|
HashMapBackedSessionMappingStorage() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSessionById(String mappingId,
javax.servlet.http.HttpSession session)
Add a session by its mapping Id.
|
void |
removeBySessionById(String sessionId)
Remove a session by its Id.
|
javax.servlet.http.HttpSession |
removeSessionByMappingId(String mappingId)
Remove the HttpSession based on the mappingId.
|
public void addSessionById(String mappingId, javax.servlet.http.HttpSession session)
SessionMappingStorageaddSessionById in interface SessionMappingStoragemappingId - the id to map the session to.session - the HttpSession.public void removeBySessionById(String sessionId)
SessionMappingStorageremoveBySessionById in interface SessionMappingStoragesessionId - the id of the session.public javax.servlet.http.HttpSession removeSessionByMappingId(String mappingId)
SessionMappingStorageremoveSessionByMappingId in interface SessionMappingStoragemappingId - the id the session is keyed under.Copyright © 2006-2014 Jasig. All Rights Reserved.