Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The <BeanManagedConnectiononal> element specifies an externally define bean which species a  DataSource.

Schema Name and Location

This element is defined by the urn:mace:shibboleth:2.0:resolver:dschema, which can be located at http://shibboleth.net/schema/idp/shibboleth-attribute-resolver-dc.xsd.  

Example

<dc:BeanManagedConnection>MyBeanDefinition</dc:BeanManagedConnection>
DataSource defined as a Spring Bean
<bean class="com.mchange.v2.c3p0.ComboPooledDataSource" destroy-method="close" p:driverClass="%{datasource.driverClass}"
    p:jdbcUrl="%{datasource.jdbcUrl}" p:user="%{datasource.user}" p:password="%{datasource.password}"
    p:acquireIncrement="%{datasource.acquireIncrement}" p:acquireRetryAttempts="%{datasource.acquireRetryAttempts}"
    p:acquireRetryDelay="%{datasource.acquireRetryDelay}" p:breakAfterAcquireFailure="%{datasource.breakAfterAcquireFailure}"
    p:minPoolSize="%{datasource.minPoolSize}" p:maxPoolSize="%{datasource.maxPoolSize}" p:maxIdleTime="%{datasource.maxIdleTime}"
    p:idleConnectionTestPeriod="%{datasource.idleConnectionTestPeriod}" />

Attributes

 

No Attributes can be specified.

Child Elements

No child elements can be specified.
 

Notes

  • No labels