[ 
https://issues.apache.org/jira/browse/SLING-3227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chetan Mehrotra resolved SLING-3227.
------------------------------------
       Resolution: Fixed
    Fix Version/s: Form Based Authentication 1.0.8

Added FormLoginModule based on Oak support for JAAS authentication
* FormAuthenticationHandler would use FormLoginModule or FormLoginModulePlugin 
depending on support for Oak LoginModule. This would enable use of same bundle 
in both Oak and JR2 based Sling deployments
* For JAAS auth the handler would construct a FormCrendentials instance which 
is supported by FormLoginModule only. Once validated it would make use of Oak 
pre auth support to let Oak complete the JAAS login

Done with http://svn.apache.org/r1649302

> FormLoginModulePlugin does not work with Oak
> --------------------------------------------
>
>                 Key: SLING-3227
>                 URL: https://issues.apache.org/jira/browse/SLING-3227
>             Project: Sling
>          Issue Type: Bug
>          Components: Authentication
>            Reporter: Bertrand Delacretaz
>            Assignee: Chetan Mehrotra
>              Labels: oak
>             Fix For: Form Based Authentication 1.0.8
>
>
> Some integration tests (SLING-3221, SLING-3226) fail on Oak as our form 
> authentication handler doesn't work with Oak.
> We'll need to either deprecate this functionality on Oak, or supply an 
> alternative. Based on the oak dev list discussion [1], an OSGi-based JAAS 
> login module [2] should work.
> [1] http://oak.markmail.org/thread/bsmmpfx6igtcqb5u
> [2] http://felix.apache.org/documentation/subprojects/apache-felix-jaas.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to