How to access WEBDAV content from within a template?

"Juliette Mainka" <[email protected]>
Newsgroups gmane.comp.cms.jahia.template
Organization Atos Origin Integration
Message-ID <[email protected]>
Hello, 

In a template, I want to list the content of a given WEBDAV directory. I
tried to access the directory via the Apache Slide/Webdav API (class
WebdavResource), but to use this, I need to have the current user's
password. Is there a way to retrieve this password?

Or is there perhaps another way to access Webdav content? For example, in
the file chooser popup window/engine, I noticed that the user can see and
use files according to his permissions on them, without having to enter his
password again. Does anyone know how this is done, and if this can also be
used from within a template?

Thanks in advance.

Regards, 
Juliette
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.