|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.service.AbstractPulseFilter
org.torweg.pulse.webdav.WebDAVFilter
public final class WebDAVFilter
filters WebDAV related request (i.e. OPTIONS, PROPFIND) to the webapp's root.
This filter is necessary for clients like Microsoft Web Folders that require the WebDAV enabled resource to be in a base directory of the host and thus want to perform WebDAV related requests on the webapp's base.
However, even when using the filter Windows Vista will fail to connect to
server using Basic authentication. It will not even display a login dialog.
Vista requires SSL / HTTPS connection to be used with Basic. However you
still can connect using Vista if you set the following registry key on a
client machine:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters\
BasicAuthLevel to 2.
The BasicAuthLevel can be set to the following values:
To actually connect to the web folder use one of the following connect strings:
\\hostname\webapp-name\\\hostname@ssl\webapp-name\If you are still having problems to connect, you might need the "Software Update for Web Folders (KB907306)", which can be downloaded from Microsoft's website.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.torweg.pulse.service.AbstractPulseFilter |
|---|
AbstractPulseFilter.WrappedResponse |
| Constructor Summary | |
|---|---|
WebDAVFilter()
|
|
| Method Summary | |
|---|---|
void |
destroy()
actually does nothing. |
void |
doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
javax.servlet.FilterChain chain)
filters for WebDAV related request to the webapp's root. |
void |
init(javax.servlet.FilterConfig conf)
initialises the filter with the context name and the name of the WebDAV servlet (optional init-param named webdav-servlet-name, defaults to WEBDAV). |
| Methods inherited from class org.torweg.pulse.service.AbstractPulseFilter |
|---|
getWebAppBasePath |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebDAVFilter()
| Method Detail |
|---|
public void init(javax.servlet.FilterConfig conf)
throws javax.servlet.ServletException
conf - the filter configuration
javax.servlet.ServletException - on errors extracting the name of the webappFilter.init(javax.servlet.FilterConfig)public void destroy()
Filter.destroy()
public void doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
javax.servlet.FilterChain chain)
throws java.io.IOException,
javax.servlet.ServletException
servletRequest - the requestservletResponse - the responsechain - the filter chain
java.io.IOException - on errors
javax.servlet.ServletException - on errorsFilter.doFilter(javax.servlet.ServletRequest,
javax.servlet.ServletResponse, javax.servlet.FilterChain)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||