uk.ac.soton.itinnovation.grid.service.ogsadai.sessions
Class SecureSessionManager
java.lang.Object
uk.ac.soton.itinnovation.grid.service.ogsadai.sessions.SecureSessionManager
- All Implemented Interfaces:
- SessionManager
public class SecureSessionManager
- extends Object
- implements SessionManager
Adds security to OGSA-DAI sessions. The default session manager will
allow any user to join a session regardless of whether they created it.
The user could then read data from the other user's stream. This session
manager creates a PBAC resource for every session that is started, and
makes the caller the owner of that resource. When lookupSession is called,
the session will only be returned if the caller matches the owner of the
session.
This session manager forwards requests to TransientSessionManager.
- Author:
- David Sansome
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createSessionView
public Session createSessionView(SessionID sid)
throws SessionNotFoundException,
SessionLookupException,
SessionViewCreationException
- Specified by:
createSessionView in interface SessionManager
- Throws:
SessionNotFoundException
SessionLookupException
SessionViewCreationException
getSessionConfiguration
public SessionConfiguration getSessionConfiguration()
- Specified by:
getSessionConfiguration in interface SessionManager
hasSession
public boolean hasSession(SessionID sid)
throws SessionLookupException
- Specified by:
hasSession in interface SessionManager
- Throws:
SessionLookupException
lookupSession
public InternalSession lookupSession(SessionID sid)
throws SessionNotFoundException,
SessionLookupException
- Specified by:
lookupSession in interface SessionManager
- Throws:
SessionNotFoundException
SessionLookupException
newSession
public InternalSession newSession()
throws SessionCreationException
- Specified by:
newSession in interface SessionManager
- Throws:
SessionCreationException
newSession
public InternalSession newSession(SessionSettings settings)
throws SessionCreationException
- Specified by:
newSession in interface SessionManager
- Throws:
SessionCreationException
terminateSession
public void terminateSession(SessionID sid)
throws SessionNotFoundException,
SessionLookupException,
SessionTerminationException
- Specified by:
terminateSession in interface SessionManager
- Throws:
SessionNotFoundException
SessionLookupException
SessionTerminationException
Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.