mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
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
This commit is contained in:
@@ -166,7 +166,7 @@ public class AuthenticationFilter implements Filter
|
|||||||
{
|
{
|
||||||
// No user/ticket, force the client to prompt for logon details
|
// 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.setStatus(HttpServletResponse.SC_UNAUTHORIZED);
|
||||||
|
|
||||||
httpResp.flushBuffer();
|
httpResp.flushBuffer();
|
||||||
|
Reference in New Issue
Block a user