SLING-2167 Reverting my last change thus not forcing HTTP Basic. The real solution is to make sure authentication on the davex path is not enforced by Sling authentication.

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1199628 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/java/org/apache/sling/jcr/davex/impl/servlets/AuthHttpContext.java b/src/main/java/org/apache/sling/jcr/davex/impl/servlets/AuthHttpContext.java
index c42e8c4..95e1fb2 100644
--- a/src/main/java/org/apache/sling/jcr/davex/impl/servlets/AuthHttpContext.java
+++ b/src/main/java/org/apache/sling/jcr/davex/impl/servlets/AuthHttpContext.java
@@ -23,7 +23,6 @@
 import javax.servlet.http.HttpServletResponse;
 
 import org.apache.sling.auth.core.AuthenticationSupport;
-import org.apache.sling.auth.core.spi.AuthenticationHandler;
 import org.osgi.service.http.HttpContext;
 
 class AuthHttpContext implements HttpContext {
@@ -68,7 +67,6 @@
     throws IOException {
         final AuthenticationSupport localAuthenticator = this.authenticator;
         if ( localAuthenticator != null ) {
-            request.setAttribute(AuthenticationHandler.REQUEST_LOGIN_PARAMETER, "BASIC");
             return localAuthenticator.handleSecurity(request, response);
         }
         // send 503/SERVICE UNAVAILABLE, flush to ensure delivery