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)
SessionMappingStorage
addSessionById
in interface SessionMappingStorage
mappingId
- the id to map the session to.session
- the HttpSession.public void removeBySessionById(String sessionId)
SessionMappingStorage
removeBySessionById
in interface SessionMappingStorage
sessionId
- the id of the session.public javax.servlet.http.HttpSession removeSessionByMappingId(String mappingId)
SessionMappingStorage
removeSessionByMappingId
in interface SessionMappingStorage
mappingId
- the id the session is keyed under.Copyright © 2006-2013 Jasig. All Rights Reserved.