From 550e444c26e7240f78eb0a398a73b7a9b4ba0c1e Mon Sep 17 00:00:00 2001 From: Gary Spencer Date: Fri, 13 Jan 2006 15:27:20 +0000 Subject: [PATCH] Added realm id to the WWW-Authenticate header value to fix a problem when trying to access the WebDAV server using OpenOffice. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2109 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../org/alfresco/repo/webdav/auth/AuthenticationFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/java/org/alfresco/repo/webdav/auth/AuthenticationFilter.java b/source/java/org/alfresco/repo/webdav/auth/AuthenticationFilter.java index c6e15e6a4b..6358d83cd4 100644 --- a/source/java/org/alfresco/repo/webdav/auth/AuthenticationFilter.java +++ b/source/java/org/alfresco/repo/webdav/auth/AuthenticationFilter.java @@ -166,7 +166,7 @@ public class AuthenticationFilter implements Filter { // No user/ticket, force the client to prompt for logon details - httpResp.setHeader("WWW-Authenticate", "BASIC"); + httpResp.setHeader("WWW-Authenticate", "BASIC realm=\"Alfresco DAV Server\""); httpResp.setStatus(HttpServletResponse.SC_UNAUTHORIZED); httpResp.flushBuffer();