Package org.opencms.webdav
Class CmsDavSessionProvider
java.lang.Object
org.opencms.webdav.CmsDavSessionProvider
- All Implemented Interfaces:
org.apache.jackrabbit.webdav.DavSessionProvider
public class CmsDavSessionProvider
extends Object
implements org.apache.jackrabbit.webdav.DavSessionProvider
Session provider implementation.
Handles the OpenCms authorization.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
attachSession
(org.apache.jackrabbit.webdav.WebdavRequest request) Authorizes the user using HTTP BASIC authentication, and if successful, attaches the created session to the requestvoid
releaseSession
(org.apache.jackrabbit.webdav.WebdavRequest request) void
setRepository
(A_CmsRepository repository) Sets the repository.
-
Constructor Details
-
CmsDavSessionProvider
public CmsDavSessionProvider()
-
-
Method Details
-
attachSession
public boolean attachSession(org.apache.jackrabbit.webdav.WebdavRequest request) throws org.apache.jackrabbit.webdav.DavException Authorizes the user using HTTP BASIC authentication, and if successful, attaches the created session to the request- Specified by:
attachSession
in interfaceorg.apache.jackrabbit.webdav.DavSessionProvider
- Throws:
org.apache.jackrabbit.webdav.DavException
- See Also:
-
DavSessionProvider.attachSession(org.apache.jackrabbit.webdav.WebdavRequest)
-
releaseSession
- Specified by:
releaseSession
in interfaceorg.apache.jackrabbit.webdav.DavSessionProvider
- See Also:
-
DavSessionProvider.releaseSession(org.apache.jackrabbit.webdav.WebdavRequest)
-
setRepository
Sets the repository.- Parameters:
repository
- the repository
-