Browse Source

增加验证功能

main
zhouxin 4 years ago
parent
commit
897a279e4f
  1. 1
      src/main/java/net/sf/webdav/WebDavServletBean.java
  2. 9
      src/main/resources/error.xml

1
src/main/java/net/sf/webdav/WebDavServletBean.java

@ -177,7 +177,6 @@ public class WebDavServletBean extends HttpServlet { @@ -177,7 +177,6 @@ public class WebDavServletBean extends HttpServlet {
/**
* Method that permit to customize the way
* user information are extracted from the request, default use JAAS
*
* @param req
* @return
*/

9
src/main/resources/error.xml

@ -0,0 +1,9 @@ @@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8" ?>
<D:multistatus xmlns:D='DAV:'>
<D:response>
<D:href></D:href>
<D:propstat>
<D:status>HTTP/1.1 {{code}} {{message}}</D:status>
</D:propstat>
</D:response>
</D:multistatus>
Loading…
Cancel
Save