The Shibboleth IdP V4 software will leave support on September 1, 2024.

ContainerManagedConnection

Namespace: urn:mace:shibboleth:2.0:resolver
Schema: http://shibboleth.net/schema/idp/shibboleth-attribute-resolver.xsd

Overview

The <ContainerManagedConnection> element specifies a connection via a JNDI DataSource resource provided by the container. This requires container-specific configuration steps, generally including adding the resource definition to the webapp context descriptor, and adding a reference to it in the deployment descriptor (web.xml).

In older versions, this was the only way to share a DataSource across multiple data connectors and to configure alternate pooling implementations. This is no longer the case; rather than rely on this mechanism, the new BeanManagedConnection element is the suggested alternative.

Reference

Name

Type

Description

Name

Type

Description

resourceName

String

Identifier of the JNDI resource

Name

Cardinality

Description

Name

Cardinality

Description

<Property>

0 or more

Provides a custom property to pass to the JNDI data source. Each element MUST contain a name and value XML Attribute.

Example

<ContainerManagedConnection resourceName="JNDIConnector"> <Property name="JNDPProp1" value="Value"/> <Property name="JNDPProp2" value="Value2"/> </ContainerManagedConnection>