You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:47:27 UTC

[sling-org-apache-sling-jcr-davex] 23/44: 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.

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.jcr.davex-1.1.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-jcr-davex.git

commit fa257ab7507c184bdc826d5cba966c1720333068
Author: Felix Meschberger <fm...@apache.org>
AuthorDate: Wed Nov 9 06:35:31 2011 +0000

    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/bundles/jcr/davex@1199628 13f79535-47bb-0310-9956-ffa450edef68
---
 .../java/org/apache/sling/jcr/davex/impl/servlets/AuthHttpContext.java  | 2 --
 1 file changed, 2 deletions(-)

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.HttpServletRequest;
 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 @@ class AuthHttpContext implements HttpContext {
     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

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.