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/11/01 17:51:18 UTC

[jira] [Commented] (SLING-3221) AuthenticationResponseCodeTest fails with Oak, missing FormLoginModulePlugin

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

Bertrand Delacretaz commented on SLING-3221:
--------------------------------------------

When running on Jackrabbit, a login with something like this as credential attributes:

{sling.formauth=9a4b3db0a0c625f36a16124710a8bdcb2903dac0@01383319840133@admin, user.name=admin, sling.authType=FORM}

is handled by our FormLoginModulePlugin [1], that's not present on our Oak setup.

I have asked on the Oak dev list what the equivalent is.

[1] https://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form/src/main/java/org/apache/sling/auth/form/impl/FormLoginModulePlugin.java

> AuthenticationResponseCodeTest fails with Oak, missing FormLoginModulePlugin
> ----------------------------------------------------------------------------
>
>                 Key: SLING-3221
>                 URL: https://issues.apache.org/jira/browse/SLING-3221
>             Project: Sling
>          Issue Type: Bug
>          Components: Authentication
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>
> The launchpad/integration-tests AuthenticationResponseCodeTest,testValidatingCorrectFormCredentials test fails when run against Oak, in the following scenario:
> 1) login via POST /j_security_check with j_username=admin j_password=admin j_validate=true
> 2) login via POST /j_security_check with just j_validate=true and the cookies set by the previous login call
> The second login fails as our Oak setup does not use the Sling FormLoginModulePlugin that's used when running on Jackrabbit.



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