JSecurity

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

Method Summary
 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.
 
Methods inherited from interface org.jsecurity.session.mgt.SessionManager
getAttribute, getAttributeKeys, getHostAddress, getLastAccessTime, getStartTimestamp, getTimeout, isValid, removeAttribute, setAttribute, setTimeout, start, stop, touch
 

Method Detail

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 ServletRequest
response - the outgoing ServletResponse
Returns:
the current Session associated with the specified request pair, or null if there is no session associated with the request.

JSecurity

Copyright © 2004-2008 JSecurity.