org.opensubsystems.core.www
Interface SessionValidator
public interface SessionValidator
This interface should be implemented by class which can validate session
information. The implementing class is consulted for each request to make
sure that the the user represented by the session is allowed to issue requests
to the server.
- Version:
- $Id: SessionValidator.java,v 1.3 2007/01/07 06:14:09 bastafidli Exp $
- Author:
- Miro Halas
- Code reviewer:
- Miro Halas
- Code reviewed:
- Initial revision
|
Method Summary |
boolean |
checkSession(java.lang.String strSessionId)
Check if the session information is still valid. |
checkSession
boolean checkSession(java.lang.String strSessionId)
throws OSSException
- Check if the session information is still valid. Valid session means that
the session is authentic and was not yet invalidated.
- Parameters:
strSessionId - - Session information to check
- Returns:
- boolean - if true the session is still valid and the user
represented by this session is allowed to issue requests
to the server
- Throws:
OSSException - - error during checking
Copyright © 2003 - 2006 OpenSubsystems s.r.o.