Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Extensions httpauth 2.0.4
-
None
-
Mac OS X 10.6.1, java version "1.6.0_15"
Firefox (3.5.3)
Description
A GET for http://localhost:8080/ results in HTTP ERROR 200
Steps to reproduce this:
1) svn checkout http://svn.apache.org/repos/asf/sling/trunk Sling
2) mvn -s /dev/null install (I had to apply the attached sling.diff for this to be successful)
3) cd launchpad/app/
4) java -jar target/org.apache.sling.launchpad.app-6-SNAPSHOT.jar -c sling
5) http://localhost:8080/system/console
6) set "Allow Anonymous Access" to false (org.apache.sling.engine.impl.auth.SlingAuthenticator)
7) go to http://localhost:8080/
Result:
- The log says: org.apache.sling.engine.impl.auth.SlingAuthenticator getAnonymousSession: Anonymous access not allowed by configuration - redirecting to login
- Firefox: HTTP ERROR 200 , Problem accessing /. Reason: OK
There is also quite a lot of noise in the error.log:
WARN [SCR Component Actor] org.apache.sling.jcr.jackrabbit.server.impl.security.PluggableDefaultAccessManager No pluggable AccessManager available, falling back to DefaultAccessManager