Dirk Rudolph created SLING-4789:
-----------------------------------
Summary: 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
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
(v6.3.4#6332)