summaryrefslogtreecommitdiff
path: root/BKUOnline/src/main
diff options
context:
space:
mode:
authorclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-08-14 10:54:32 +0000
committerclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-08-14 10:54:32 +0000
commita59e78782149933c37e21486c292f2c1a7fc9c2c (patch)
tree97a02490e7756a2c3f9c4edb53eaee50181bc380 /BKUOnline/src/main
parent9b77452c06a7bc02f05f7a46fb192ee3ba0dd952 (diff)
downloadmocca-a59e78782149933c37e21486c292f2c1a7fc9c2c.tar.gz
mocca-a59e78782149933c37e21486c292f2c1a7fc9c2c.tar.bz2
mocca-a59e78782149933c37e21486c292f2c1a7fc9c2c.zip
[#354] HTTPBindingProcessor: MAX_DATAURL_HOPS not configurable
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@433 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKUOnline/src/main')
-rw-r--r--BKUOnline/src/main/webapp/WEB-INF/applicationContext.xml8
-rw-r--r--BKUOnline/src/main/webapp/WEB-INF/mocca-conf.xml12
2 files changed, 18 insertions, 2 deletions
diff --git a/BKUOnline/src/main/webapp/WEB-INF/applicationContext.xml b/BKUOnline/src/main/webapp/WEB-INF/applicationContext.xml
index 5681fa89..0324030e 100644
--- a/BKUOnline/src/main/webapp/WEB-INF/applicationContext.xml
+++ b/BKUOnline/src/main/webapp/WEB-INF/applicationContext.xml
@@ -75,8 +75,11 @@
scope="singleton">
<constructor-arg ref="STALFactory"></constructor-arg>
<constructor-arg ref="commandInvoker"></constructor-arg>
+ <constructor-arg ref="configuration"></constructor-arg>
</bean>
+ <!-- TODO DataURL bean with configuration injected -->
+
<bean
class="org.springframework.web.context.support.ServletContextAttributeExporter">
<property name="attributes">
@@ -105,8 +108,9 @@
</bean>
<!-- Begin MOCCA Configuration [REFACTORED]
- | Configuration beans (no conf properties file) should be injected directly to module configurators.
- | Currently, only the ReaderFactory configuration is considered.
+ | Configuration beans (no conf properties file) should be injected directly
+ | to module configurators (at.gv.egiz.bku.X.conf.Configuration).
+ | Currently, only configuration items are considered.
|-->
<import resource="mocca-conf.xml"/>
diff --git a/BKUOnline/src/main/webapp/WEB-INF/mocca-conf.xml b/BKUOnline/src/main/webapp/WEB-INF/mocca-conf.xml
index 54e08e9b..b7778ed2 100644
--- a/BKUOnline/src/main/webapp/WEB-INF/mocca-conf.xml
+++ b/BKUOnline/src/main/webapp/WEB-INF/mocca-conf.xml
@@ -24,6 +24,18 @@
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd">
+ <!-- BKU Common (ie. main) Configuration -->
+ <bean id="configuration" class="at.gv.egiz.bku.conf.Configuration">
+ <property name="maxDataUrlHops" value="50"/>
+
+ <!-- TODO refactor DataURL and inject this bkuCommonConfig to DataURL -->
+ <!-- TODO inject bkuCommonConfig to SpringBKUServlet and SpringSecurityManager
+ | and replace SpringConfigurator -->
+ <!-- used to construct the User-Agent HTTP header
+ <property name="implementationName" value="MOCCA"/>
+ <property name="implementationVersion" value="1.0"/-->
+ </bean>
+
<!--
| ReaderFactory configuration not available in Applet
|