RE: Re:ACTION-62 Make a proposal to clarify the wording and scope of the (221) jndiContext Parameter property)

Peter,

 

In our last meeting we had discussed changing your standard JNDI
property example (i.e. the example that uses
java.naming.security.principal).  In that meeting I said I would search
for the standard JNDI property required by JBoss JNDI.  That property is
java.naming.factory.url.pkgs.

 

An example of its use with JBoss is:
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces.

 

Regards,

Derek

 

________________________________

From: public-soap-jms-request@w3.org
[mailto:public-soap-jms-request@w3.org] On Behalf Of Peter Easton
Sent: Tuesday, February 24, 2009 11:12 AM
To: public-soap-jms@w3.org
Subject: FW: Re:ACTION-62 Make a proposal to clarify the wording and
scope of the (221) jndiContext Parameter property)

 

ACTION-62 Proposal:

Currently the section reads:

[Definition: soapjms:jndiContextParameter ]
(soapjms:jndiContextParameterType) 

		*	Specifies an additional property, other than
jndiURL and jndiInitialContextFactory, which is needed to connect to the
JNDI provider.

		*	An optional property that MAY be specified more
than once.

		*	The JNDI property's name MUST be included in the
name attribute, its value MUST be included in the value attribute. 

		*	MAY be specified in JMS URI, WSDL, or somewhere
else in the environment

Example: including the JNDI property com.sun.jndi.someParameter WSDL 

<soapjms:jndiContextParameter name="com.sun.jndi.someParameter"
value="someValue" />

Change to:

[Definition: soapjms:jndiContextParameter ]
(soapjms:jndiContextParameterType) 

*       Provides mechanism to set additional, arbitrary JNDI environment
properties, other than jndiURL and jndiInitialContextFactory, in the
HashMap sent to the InitialContext constructor for the JNDI provider, 

*       An optional property that MAY be specified more than once.

*       Specifies a JNDI property name and value pair to be added to the
HashMap sent to the InitialContext 

*       The JNDI property's name MUST be included in the name attribute,
its value MUST be included in the value attribute. The value is added as
a java.lang.String.

*       MAY be specified in JMS URI, WSDL, or somewhere else in the
environment

Examples: 

Including the JNDI property com.acme.jndi.enable.tracing for the ACME
Corporation JNDI provider

<soapjms:jndiContextParameter name="com.acme.jndi.enable.tracing "
value=true" />

Including the standard JNDI property java.naming.security.principal for
guest access.

<soapjms:jndiContextParameter name=" java.naming.security.principal "
value="guest" />

Received on Tuesday, 10 March 2009 15:14:18 UTC