[ 
https://issues.apache.org/jira/browse/SLING-1134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785609#action_12785609
 ] 

Felix Meschberger commented on SLING-1134:
------------------------------------------

@Andreas: I think I found the problem: the form has been sent in the response 
but somehow the response was reset and thus the form not sent.... I will add a 
flushBuffer() call to ensure the form is sent.

@Peter: I have finally added functionality to disable form based login and use 
regular HTTP login with the browser's login box (based on 401/UNAUTHORIZED 
response). See SLING-1222.

> GET for http://localhost:8080/ results in HTTP ERROR 200
> --------------------------------------------------------
>
>                 Key: SLING-1134
>                 URL: https://issues.apache.org/jira/browse/SLING-1134
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: Extensions httpauth 2.0.4
>         Environment: Mac OS X 10.6.1, java version "1.6.0_15"
> Firefox (3.5.3)
>            Reporter: Andreas Amstutz
>            Assignee: Felix Meschberger
>             Fix For: Extensions httpauth 2.0.6
>
>         Attachments: error.log, sling.diff
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to