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 "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2014/08/22 12:29:10 UTC
[jira] [Created] (OAK-2051) Provide option to use Configuration
SPI in JAAS authentication when running within AppServer
Chetan Mehrotra created OAK-2051:
------------------------------------
Summary: Provide option to use Configuration SPI in JAAS authentication when running within AppServer
Key: OAK-2051
URL: https://issues.apache.org/jira/browse/OAK-2051
Project: Jackrabbit Oak
Issue Type: Improvement
Components: security
Reporter: Chetan Mehrotra
Assignee: Chetan Mehrotra
Fix For: 1.1
LoginContextProviderImpl currently obtains JAAS configuration directly from the Configuration class. This works fine where the JAAS config is provided in std form like through file. This also works fine with Felix JAAS [1] where Felix JAAS is configured to replace the default configuration and thats ok when running in standalone env.
However Felix JAAS also supports a SPI mode to fetch configuration which would allow running in App server env where the application server is also making use of JAAS.
Oak should provide an option to make use of the SPI mode when running in App Server env so as to isolate the Oak's use of JAAS logic from App Server's usage
[1] http://felix.apache.org/documentation/subprojects/apache-felix-jaas.html#configuration-spi-with-default-policy-mode
--
This message was sent by Atlassian JIRA
(v6.2#6252)