The Shibboleth IdP V3 software has reached its End of Life and is no longer supported. This documentation is available for historical purposes only. See the IDP4 wiki space for current documentation on the supported version.
ApplicationManagedConnection
The <ApplicationManagedConnection>
 element explicitly describes a JDBC connection via a custom syntax. Two significant limitations of this approach are that the only pooling implementation explicitly supported is c3p0, which is known to be buggy, and that the connection is specific to the surrounding data connector, and thus not shared by multiple connectors for efficiency.
We suggest the use of externally defined connections using the <BeanManagedConnection>
element to address both issues.
Deprecated
This element is deprecated in V3.4 and will be removed in V4
Schema Name and Location
This element is defined by the urn:mace:shibboleth:2.0:resolver
 schema, which is located at http://shibboleth.net/schema/idp/shibboleth-attribute-resolver.xsd.
Example
<ApplicationManagedConnection jdbcDriver="org.hsqldb.jdbc.JDBCDriver" jdbcURL="jdbc:hsqldb:mem:RDBMSDataConnectorStore" jdbcUserName="jdbcUser" jdbcPassword="Whatever" />
Attributes
Name | Type | Default | Description |
---|---|---|---|
| string, required | Class name of the JDBC driver used to connect to the database | |
| string, required | JDBC URL to connect to. These are usually of the form jdbc:databaseProduceName:databaseSpecificInformation | |
| string | The username to use to communicate with the database | |
| string | The password to use to communicate with the database | |
The attributes below are a built-in way of configuring a c3p0 connection pool around the underlying data source. | |||
| integer | Â 3 | Number of new connections that will be created when the pool is exhausted |
| integer | Â 36 | Number of times the pool will try to establish a connection to a database |
| integer (milliseconds) | 5000Â | Amount of time, in milliseconds, the pool will wait before trying to retrieve a new connection (Note: this cannot be specified as an XML duration) |
| boolean | true | Whether the pool should be marked as permanently unavailable if a new connection cannot be established after the poolAcquireRetryAttempts value is reached |
| integer | 2Â | Minimum number of connections the pool will maintain with the database. A value of zero means there is no minimum. |
| integer | 50Â | Maximum number of connections a pool will maintain at any given time. |
| integer (seconds) | Â 600 | Seconds a connection can remain pooled but unused before being discarded. Zero means idle connections never expire (Note: this cannot be specified as an XML duration) |
| integer (seconds) | Â 180 | Delay between testing of all idle, pooled but unchecked-out connections. Zero means never check. (see here) (Note: this cannot be specified as an XML duration) |
Child Elements
No child elements are defined.