This is a follow up on LING-1134

I had some time again to get going with Sling but keep banging my head
against obstacles in the learning process.

After building and launching sling as suggested in "Build Sling With
the Maven command line tool"
(http://sling.apache.org/site/getting-and-building-sling.html) I
deactivate anonymous access via
system/console/configMgr/org.apache.sling.engine.impl.auth.SlingAuthenticator

The samples/espblog/README.txt mentions that ...
Once "allow anonymous access" is set to false, requesting
  http://localhost:8888/
should redirect to the Sling login form at /system/sling/login

But actual response in my case is quite different:
HTTP ERROR 200 , Problem accessing /. Reason: OK

Firing up a debugging session on the
AuthorizationHeaderAuthenticationHandler did not make the case any
clearer as the code in requestAuthentication(...) is executed and the
content of the LoginFormTemplate.html written to the response.

But somehow that form does not make it to the browser.

Am I missing something here?

Regards
Andreas

My dev env: Mac OS X 10.6.1, java version "1.6.0_15", Firefox (3.5.3)
http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/httpauth/src/main/java/org/apache/sling/httpauth/impl/AuthorizationHeaderAuthenticationHandler.java

===========================================================
Sorry for cross posting this message to the user list also ... that
was a mistake

Reply via email to