use of org.apache.jackrabbit.webdav.DavSession in project jackrabbit by apache.
the class JCRWebdavServer method attachSession.
//---------------------------------------< DavSessionProvider interface >---
/**
* Acquires a DavSession either from the session cache or creates a new
* one by login to the repository.
* Upon success, the WebdavRequest will reference that session.
*
* @param request
* @throws DavException if no session could be obtained.
* @see DavSessionProvider#attachSession(org.apache.jackrabbit.webdav.WebdavRequest)
*/
public boolean attachSession(WebdavRequest request) throws DavException {
DavSession session = cache.get(request);
request.setDavSession(session);
return true;
}
Aggregations