You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2012/10/02 19:15:07 UTC

[jira] [Commented] (OAK-91) Implement Authentication Support

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

Jukka Zitting commented on OAK-91:
----------------------------------

Plugging in _non-JAAS_ authentication components was a bit complicated since the JAAS {{LoginContext}} is not an interface but a class whose constructor does some pretty tricky classloading magic that's hard to override when it's not needed.

To solve this issue, in revision 1393038 I replaced the {{LoginContext}} return value of the {{LoginContextProvider.getLoginContext()}} method with a new {{OakLoginContext}} interface that simply duplicates all the methods of the JAAS {{LoginContext}} class. A related {{JaasLoginContext}} class simply implements this new interface using the JAAS {{LoginContext}} as a base class, which keeps full compatibility with existing JAAS-based authentication components.
                
> Implement Authentication Support
> --------------------------------
>
>                 Key: OAK-91
>                 URL: https://issues.apache.org/jira/browse/OAK-91
>             Project: Jackrabbit Oak
>          Issue Type: Task
>          Components: core, jcr
>            Reporter: angela
>            Assignee: angela
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira