[
https://issues.apache.org/jira/browse/SLING-4789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler resolved SLING-4789.
-------------------------------------
Resolution: Won't Fix
> Support custom properties in the JNDI context
> ---------------------------------------------
>
> Key: SLING-4789
> URL: https://issues.apache.org/jira/browse/SLING-4789
> Project: Sling
> Issue Type: Improvement
> Components: JCR
> Affects Versions: JCR Registration 1.0.2
> Reporter: Dirk Rudolph
> Priority: Minor
> Attachments: jndi-additional-environment-properties.patch
>
>
> Currently the JNDI context is generated and populated with the service
> properties of the registration service. Those properties are filtered using a
> whitelist {{java.naming.}}
> {code}
> if (key.startsWith("java.naming.")) {
> env.setProperty(key, (String) props.get(key));
> }
> {code}
> So it is not possible to add custom environment properties that are actually
> used by the JNDI implementation like those defined for simple-jndi:
> {{org.osjava.sj.}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)