org.jsecurity.web.session
Interface WebSessionManager
- All Superinterfaces:
- SessionManager
- All Known Implementing Classes:
- DefaultWebSessionManager, ServletContainerSessionManager
public interface WebSessionManager
- extends SessionManager
A WebSessionManager is a SessionManager that has the ability to obtain
Sessions based on a ServletRequest/ServletResponse
pair.
- Since:
- 0.9
- Author:
- Les Hazlewood
| Methods inherited from interface org.jsecurity.session.mgt.SessionManager |
getAttribute, getAttributeKeys, getHostAddress, getLastAccessTime, getStartTimestamp, getTimeout, isValid, removeAttribute, setAttribute, setTimeout, start, stop, touch |
getSession
Session getSession(ServletRequest request,
ServletResponse response)
- Returns the current
Session associated with the specified request pair, or
null if there is no session associated with the request.
- Parameters:
request - the incoming ServletRequestresponse - the outgoing ServletResponse
- Returns:
- the current
Session associated with the specified request pair, or
null if there is no session associated with the request.
Copyright © 2004-2008 JSecurity.