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.
SimpleManagedConnection
The <SimpleManagedConnection>
 element explicitly describes a JDBC connection via a custom syntax. It is aimed only at getting users started with database connections. We suggest the use of externally defined connections using the <BeanManagedConnection>
Â
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
<SimpleManagedConnection jdbcDriver="org.hsqldb.jdbc.JDBCDriver" jdbcURL="jdbc:hsqldb:mem:RDBMSDataConnectorStore" jdbcUserName="jdbcUser" jdbcPassword="Whatever" />
This is exactly equivalent to defining a <BeanManagedConnection> referring to this configuration.
<bean id="simpleDataConnector" class="org.apache.commons.dbcp2.BasicDataSource" p:driverClassName="org.hsqldb.jdbc.JDBCDriver" p:url="jdbc:hsqldb:mem:RDBMSDataConnectorStore" p:username="jdbcUser" p:password="Whatever" p:maxTotal="20" p:maxIdle="5" p:maxWaitMillis="5000" />
Note that three values (maxTotal, maxIdle, MaxWaitMillis) are hard wired.
These values (and other values defaulted by the dbcp pooling) are unlikely to be correct for production.
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 |
Child Elements
No child elements are defined.