Hi all, Allow me to elaborate my situation for you. I'm using Apache Slide and WCK, downloaded them using subversion from Apache website ard a month ago (13 March 2006). I have done some modification to some part of Apache Slide so that it can be used to browse Samba servers.
Yesterday I found a problem with my program. For example I'm trying to access file server A, given the right user ID and password, I'm able to go to file server A and list any shared files and folders in it. For example, A has 3 shared folders: A1, A2 and A3. I noticed that during browsing A (which of course will call getChildrenNames() function), it will also call getChildrenNames() on A1, A2 and A3 (this is to my surprise). I believe this is a wrong implementation, since the current user may have access to A but not to all A1, A2 and A3. I've tried changing the depth-limit value (I believe this is the place where I can limit how deep it should go) in web.xml and restarting the server, but it seems that Slide keeps checking A1, A2 and A3. Of course I've thrown an Exception (AccessDeniedException) when the error occurs. WebdavServlet will catch it as a WebdavException, which confuses me since AccessDeniedException is not an instance of WebdavException. Probably I've made a mistake somewhere and overlooked some stuffs. Could someone enlighten me on this matter? Thanks for your time. Regards, Alvin Anwar --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
