68 lines
2.7 KiB
XML
68 lines
2.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
xmlns:context="http://www.springframework.org/schema/context"
|
|
xmlns:util="http://www.springframework.org/schema/util"
|
|
xmlns:p="http://www.springframework.org/schema/p"
|
|
xmlns:c="http://www.springframework.org/schema/c"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
|
|
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
|
|
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd"
|
|
|
|
default-init-method="initialize"
|
|
default-destroy-method="destroy">
|
|
|
|
<!-- Use this file to define any custom beans needed globally. -->
|
|
|
|
<!--
|
|
Algorithm include/exclude sets that override or merge with library defaults. Normally you can leave these
|
|
empty or commented and use the system defaults, but you can override those defaults using these beans.
|
|
Each <value> element is an algorithm URI; you can also use <util:constant> elements in place of literal values.
|
|
-->
|
|
|
|
<!--
|
|
<util:set id="shibboleth.IncludedSignatureAlgorithms">
|
|
</util:set>
|
|
|
|
<util:set id="shibboleth.ExcludedSignatureAlgorithms">
|
|
</util:set>
|
|
|
|
<util:set id="shibboleth.IncludedEncryptionAlgorithms">
|
|
</util:set>
|
|
|
|
<util:set id="shibboleth.ExcludedEncryptionAlgorithms">
|
|
</util:set>
|
|
-->
|
|
|
|
<!--
|
|
If you need to define and inject custom Java object(s) into the various views used throughout the
|
|
system (errors, login, logout, etc.), you can uncomment and define the bean below to be of any
|
|
type required. It will appear in the view scope as a variable named "custom".
|
|
|
|
The example below defines the bean as a map, which allows you to inject multiple objects under
|
|
named keys to expand the feature to support multiple injected objects.
|
|
-->
|
|
|
|
<!--
|
|
<util:map id="shibboleth.CustomViewContext">
|
|
<entry key="foo" value="bar"/>
|
|
</util:map>
|
|
-->
|
|
|
|
<bean id="sqlite-dataconnector" class="org.apache.commons.dbcp2.BasicDataSource" destroy-method="close"
|
|
p:driverClassName="%{datasource.driverClass}"
|
|
p:url="%{datasource.jdbcUrl}"
|
|
p:initialSize="5"
|
|
p:maxTotal="50"
|
|
p:maxIdle="5"
|
|
p:maxWaitMillis="2000"
|
|
/>
|
|
|
|
<bean id="sqlite-storeageservice" parent="shibboleth.JDBCStorageService"
|
|
p:dataSource-ref="sqlite-dataconnector"
|
|
p:transactionIsolation="4"
|
|
p:retryableErrors="40001"
|
|
/>
|
|
|
|
</beans>
|