...
We suggest the use of externally defined connections using the <BeanManagedConnection>
element to address both issues.
Warning | ||
---|---|---|
| ||
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.
...
Code Block | ||
---|---|---|
| ||
<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.