org.apache.jackrabbit.server
Interface SessionProvider
- All Known Implementing Classes:
- SessionProviderImpl
- public interface SessionProvider
This Interface defines a provider for repository sessions
|
Method Summary |
Session |
getSession(javax.servlet.http.HttpServletRequest request,
Repository rep,
String workspace)
Provides the repository session suitable for the given request. |
getSession
public Session getSession(javax.servlet.http.HttpServletRequest request,
Repository rep,
String workspace)
throws LoginException,
javax.servlet.ServletException,
RepositoryException
- Provides the repository session suitable for the given request.
- Parameters:
request - rep - the repository to loginworkspace - the workspace name
- Returns:
- the session or null
- Throws:
LoginException - if the credentials are invalid
javax.servlet.ServletException - if an error occurrs
RepositoryException
Copyright © 2005 . All Rights Reserved.