You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2013/10/28 14:15:30 UTC

[jira] [Commented] (SLING-3210) Oak login fails in DavExDisabledAnonAccessTest

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

Bertrand Delacretaz commented on SLING-3210:
--------------------------------------------

At http:///svn.apache.org/r1536348 , modified the DavExIntegrationTest base class to use admin credentials to verify that remote access works, and added a separate testDavexServletAccess() that tests just HTTP GET access to the davex servlet without credentials. 

IIUC the latter is what the test is meant to check, but before my changes it also assumed that credentials-less access to the remote repository should work, which is not the case with Oak anymore.

[~justinedelson], as according to SLING-2274 you implemented that test, could you review my changes?

> Oak login fails in DavExDisabledAnonAccessTest
> ----------------------------------------------
>
>                 Key: SLING-3210
>                 URL: https://issues.apache.org/jira/browse/SLING-3210
>             Project: Sling
>          Issue Type: Bug
>          Components: Testing
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>
> The DavExIntegrationTest base class uses repository.login("default"), without credentials, which is not supported by Oak as per http://jackrabbit.apache.org/oak/docs/differences.html
> As a result, the login correctly fails, causing the test to fail.



--
This message was sent by Atlassian JIRA
(v6.1#6144)