Class CmsDavSessionProvider

  • All Implemented Interfaces:
    org.apache.jackrabbit.webdav.DavSessionProvider

    public class CmsDavSessionProvider
    extends java.lang.Object
    implements org.apache.jackrabbit.webdav.DavSessionProvider
    Session provider implementation.

    Handles the OpenCms authorization.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean attachSession​(org.apache.jackrabbit.webdav.WebdavRequest request)
      Authorizes the user using HTTP BASIC authentication, and if successful, attaches the created session to the request
      void releaseSession​(org.apache.jackrabbit.webdav.WebdavRequest request)  
      void setRepository​(A_CmsRepository repository)
      Sets the repository.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • 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 interface org.apache.jackrabbit.webdav.DavSessionProvider
        Throws:
        org.apache.jackrabbit.webdav.DavException
        See Also:
        DavSessionProvider.attachSession(org.apache.jackrabbit.webdav.WebdavRequest)
      • releaseSession

        public void releaseSession​(org.apache.jackrabbit.webdav.WebdavRequest request)
        Specified by:
        releaseSession in interface org.apache.jackrabbit.webdav.DavSessionProvider
        See Also:
        DavSessionProvider.releaseSession(org.apache.jackrabbit.webdav.WebdavRequest)