summaryrefslogtreecommitdiff
path: root/bkucommon/src/test/resources/at/gv
diff options
context:
space:
mode:
Diffstat (limited to 'bkucommon/src/test/resources/at/gv')
-rw-r--r--bkucommon/src/test/resources/at/gv/egiz/bku/slcommands/testApplicationContext.xml302
1 files changed, 156 insertions, 146 deletions
diff --git a/bkucommon/src/test/resources/at/gv/egiz/bku/slcommands/testApplicationContext.xml b/bkucommon/src/test/resources/at/gv/egiz/bku/slcommands/testApplicationContext.xml
index b20202ad..3ec44394 100644
--- a/bkucommon/src/test/resources/at/gv/egiz/bku/slcommands/testApplicationContext.xml
+++ b/bkucommon/src/test/resources/at/gv/egiz/bku/slcommands/testApplicationContext.xml
@@ -1,149 +1,159 @@
-<?xml version="1.0" encoding="UTF-8"?>
- <!--
- Copyright 2008 Federal Chancellery Austria and Graz University of
- Technology Licensed under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance with the
- License. You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0 Unless required by
- applicable law or agreed to in writing, software distributed under the
- License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
- CONDITIONS OF ANY KIND, either express or implied. See the License for
- the specific language governing permissions and limitations under the
- License.
- -->
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011 by Graz University of Technology, Austria
+ MOCCA has been developed by the E-Government Innovation Center EGIZ, a joint
+ initiative of the Federal Chancellery Austria and Graz University of Technology.
+
+ Licensed under the EUPL, Version 1.1 or - as soon they will be approved by
+ the European Commission - subsequent versions of the EUPL (the "Licence");
+ You may not use this work except in compliance with the Licence.
+ You may obtain a copy of the Licence at:
+ http://www.osor.eu/eupl/
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the Licence is distributed on an "AS IS" basis,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the Licence for the specific language governing permissions and
+ limitations under the Licence.
+
+ This product combines work with different licenses. See the "NOTICE" text
+ file for details on the various modules and licenses.
+ The "NOTICE" text file is part of the distribution. Any derivative works
+ that you distribute must include a readable copy of the "NOTICE" text file.
+-->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tx="http://www.springframework.org/schema/tx"
- 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">
-
- <bean id="configuration" class="org.apache.commons.configuration.MapConfiguration">
- <constructor-arg>
- <map>
- <entry key="ValidateHashDataInputs" value="false"/>
- </map>
- </constructor-arg>
- </bean>
-
- <!-- URL dereferencer -->
- <bean id="urlDereferencer" class="at.gv.egiz.bku.utils.urldereferencer.URLDereferencerImpl"
- factory-method="getInstance"/>
-
- <!-- command invoker -->
- <bean id="slCommandInvoker" class="at.gv.egiz.bku.binding.SLCommandInvokerImpl">
- </bean>
-
- <!-- Security Layer command factory -->
-
- <bean id="abstractCommandFactory" class="at.gv.egiz.bku.slcommands.AbstractSLCommandFactory"
- abstract="true">
- <property name="configuration" ref="configuration"/>
- </bean>
-
- <bean id="certificatesInfoboxFactory"
- class="at.gv.egiz.bku.slcommands.impl.CertificatesInfoboxFactory" />
- <bean id="identityLinkInfoboxFactory"
- class="at.gv.egiz.bku.slcommands.impl.IdentityLinkInfoboxFactory">
- <property name="identityLinkTransformer">
- <bean class="at.gv.egiz.idlink.IdentityLinkTransformer">
- <property name="urlDereferencer" ref="urlDereferencer"/>
- </bean>
- </property>
- </bean>
- <bean id="cardChannelInfoboxFactory"
- class="at.gv.egiz.bku.slcommands.impl.CardChannelInfoboxFactory" />
- <bean id="svPersonendatenInfoboxFactory"
- class="at.gv.egiz.bku.slcommands.impl.SVPersonendatenInfoboxFactory" />
-
- <bean id="infoboxFactory" class="at.gv.egiz.bku.slcommands.impl.InfoboxFactory">
- <property name="infoboxFactories">
- <map>
- <entry key="Certificates" value-ref="certificatesInfoboxFactory" />
- <entry key="IdentityLink" value-ref="identityLinkInfoboxFactory" />
- <entry key="CardChannel" value-ref="cardChannelInfoboxFactory" />
- <entry key="SV-Personendaten" value-ref="svPersonendatenInfoboxFactory" />
- </map>
- </property>
- </bean>
-
- <bean id="nullOperationCommandFactory"
- class="at.gv.egiz.bku.slcommands.impl.NullOperationCommandFactory"
- parent="abstractCommandFactory" />
- <bean id="nullOperationRequest" class="javax.xml.namespace.QName">
- <constructor-arg
- value="http://www.buergerkarte.at/namespaces/securitylayer/1.2#" />
- <constructor-arg value="NullOperationRequest" />
- </bean>
- <bean id="infoboxReadCommandFactory"
- class="at.gv.egiz.bku.slcommands.impl.InfoboxReadCommandFactory"
- parent="abstractCommandFactory">
- <property name="infoboxFactory" ref="infoboxFactory" />
- </bean>
- <bean id="infoboxReadRequest" class="javax.xml.namespace.QName">
- <constructor-arg
- value="http://www.buergerkarte.at/namespaces/securitylayer/1.2#" />
- <constructor-arg value="InfoboxReadRequest" />
- </bean>
- <bean id="infoboxUpdateCommandFactory"
- class="at.gv.egiz.bku.slcommands.impl.InfoboxUpdateCommandFactory"
- parent="abstractCommandFactory">
- <property name="infoboxFactory" ref="infoboxFactory" />
- </bean>
- <bean id="infoboxUpdateRequest" class="javax.xml.namespace.QName">
- <constructor-arg
- value="http://www.buergerkarte.at/namespaces/securitylayer/1.2#" />
- <constructor-arg value="InfoboxUpdateRequest" />
- </bean>
- <bean id="createXMLSignatureCommandFactory"
- class="at.gv.egiz.bku.slcommands.impl.CreateXMLSignatureCommandFactory"
- parent="abstractCommandFactory" />
- <bean id="createXMLSignatureRequest" class="javax.xml.namespace.QName">
- <constructor-arg
- value="http://www.buergerkarte.at/namespaces/securitylayer/1.2#" />
- <constructor-arg value="CreateXMLSignatureRequest" />
- </bean>
- <bean id="getStatusCommandFactory" class="at.gv.egiz.bku.slcommands.impl.GetStatusCommandFactory"
- parent="abstractCommandFactory" />
- <bean id="getStatusRequest" class="javax.xml.namespace.QName">
- <constructor-arg
- value="http://www.buergerkarte.at/namespaces/securitylayer/1.2#" />
- <constructor-arg value="GetStatusRequest" />
- </bean>
-
- <bean id="slCommandFactory" class="at.gv.egiz.bku.slcommands.SLCommandFactory"
- factory-method="getInstance">
- <property name="concreteFactories">
- <map>
- <entry key-ref="nullOperationRequest" value-ref="nullOperationCommandFactory" />
- <entry key-ref="infoboxReadRequest" value-ref="infoboxReadCommandFactory" />
- <entry key-ref="infoboxUpdateRequest" value-ref="infoboxUpdateCommandFactory" />
- <entry key-ref="createXMLSignatureRequest" value-ref="createXMLSignatureCommandFactory" />
- <entry key-ref="getStatusRequest" value-ref="getStatusCommandFactory" />
- </map>
- </property>
- </bean>
-
- <!-- STAL factory -->
- <bean id="stalFactory" class="at.gv.egiz.stal.dummy.DummyStalFactory"
- scope="singleton">
- </bean>
-
- <!-- binding processor factories -->
- <bean id="httpBindingProcessorFactory" class="at.gv.egiz.bku.binding.HTTPBindingProcessorFactory">
- <property name="configuration" ref="configuration" />
- <property name="slCommandFactory" ref="slCommandFactory" />
- <property name="urlDereferencer" ref="urlDereferencer" />
- </bean>
-
- <!-- binding processor manager -->
- <bean id="bindingProcessorManager" class="at.gv.egiz.bku.binding.BindingProcessorManagerImpl"
- scope="singleton">
- <property name="configuration" ref="configuration" />
- <property name="stalFactory" ref="stalFactory" />
- <property name="slCommandInvoker" ref="slCommandInvoker" />
- <property name="factories">
- <list>
- <ref bean="httpBindingProcessorFactory"/>
- </list>
- </property>
- </bean>
-
+ 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">
+
+ <bean id="configuration" class="org.apache.commons.configuration.MapConfiguration">
+ <constructor-arg>
+ <map>
+ <entry key="ValidateHashDataInputs" value="false"/>
+ </map>
+ </constructor-arg>
+ </bean>
+
+ <!-- URL dereferencer -->
+ <bean id="urlDereferencer" class="at.gv.egiz.bku.utils.urldereferencer.URLDereferencerImpl"
+ factory-method="getInstance"/>
+
+ <!-- command invoker -->
+ <bean id="slCommandInvoker" class="at.gv.egiz.bku.binding.SLCommandInvokerImpl">
+ </bean>
+
+ <!-- Security Layer command factory -->
+
+ <bean id="abstractCommandFactory" class="at.gv.egiz.bku.slcommands.AbstractSLCommandFactory"
+ abstract="true">
+ <property name="configuration" ref="configuration"/>
+ </bean>
+
+ <bean id="certificatesInfoboxFactory"
+ class="at.gv.egiz.bku.slcommands.impl.CertificatesInfoboxFactory" />
+ <bean id="identityLinkInfoboxFactory"
+ class="at.gv.egiz.bku.slcommands.impl.IdentityLinkInfoboxFactory">
+ <property name="identityLinkTransformer">
+ <bean class="at.gv.egiz.idlink.IdentityLinkTransformer">
+ <property name="urlDereferencer" ref="urlDereferencer"/>
+ </bean>
+ </property>
+ </bean>
+ <bean id="cardChannelInfoboxFactory"
+ class="at.gv.egiz.bku.slcommands.impl.CardChannelInfoboxFactory" />
+ <bean id="svPersonendatenInfoboxFactory"
+ class="at.gv.egiz.bku.slcommands.impl.SVPersonendatenInfoboxFactory" />
+
+ <bean id="infoboxFactory" class="at.gv.egiz.bku.slcommands.impl.InfoboxFactory">
+ <property name="infoboxFactories">
+ <map>
+ <entry key="Certificates" value-ref="certificatesInfoboxFactory" />
+ <entry key="IdentityLink" value-ref="identityLinkInfoboxFactory" />
+ <entry key="CardChannel" value-ref="cardChannelInfoboxFactory" />
+ <entry key="SV-Personendaten" value-ref="svPersonendatenInfoboxFactory" />
+ </map>
+ </property>
+ </bean>
+
+ <bean id="nullOperationCommandFactory"
+ class="at.gv.egiz.bku.slcommands.impl.NullOperationCommandFactory"
+ parent="abstractCommandFactory" />
+ <bean id="nullOperationRequest" class="javax.xml.namespace.QName">
+ <constructor-arg
+ value="http://www.buergerkarte.at/namespaces/securitylayer/1.2#" />
+ <constructor-arg value="NullOperationRequest" />
+ </bean>
+ <bean id="infoboxReadCommandFactory"
+ class="at.gv.egiz.bku.slcommands.impl.InfoboxReadCommandFactory"
+ parent="abstractCommandFactory">
+ <property name="infoboxFactory" ref="infoboxFactory" />
+ </bean>
+ <bean id="infoboxReadRequest" class="javax.xml.namespace.QName">
+ <constructor-arg
+ value="http://www.buergerkarte.at/namespaces/securitylayer/1.2#" />
+ <constructor-arg value="InfoboxReadRequest" />
+ </bean>
+ <bean id="infoboxUpdateCommandFactory"
+ class="at.gv.egiz.bku.slcommands.impl.InfoboxUpdateCommandFactory"
+ parent="abstractCommandFactory">
+ <property name="infoboxFactory" ref="infoboxFactory" />
+ </bean>
+ <bean id="infoboxUpdateRequest" class="javax.xml.namespace.QName">
+ <constructor-arg
+ value="http://www.buergerkarte.at/namespaces/securitylayer/1.2#" />
+ <constructor-arg value="InfoboxUpdateRequest" />
+ </bean>
+ <bean id="createXMLSignatureCommandFactory"
+ class="at.gv.egiz.bku.slcommands.impl.CreateXMLSignatureCommandFactory"
+ parent="abstractCommandFactory" />
+ <bean id="createXMLSignatureRequest" class="javax.xml.namespace.QName">
+ <constructor-arg
+ value="http://www.buergerkarte.at/namespaces/securitylayer/1.2#" />
+ <constructor-arg value="CreateXMLSignatureRequest" />
+ </bean>
+ <bean id="getStatusCommandFactory" class="at.gv.egiz.bku.slcommands.impl.GetStatusCommandFactory"
+ parent="abstractCommandFactory" />
+ <bean id="getStatusRequest" class="javax.xml.namespace.QName">
+ <constructor-arg
+ value="http://www.buergerkarte.at/namespaces/securitylayer/1.2#" />
+ <constructor-arg value="GetStatusRequest" />
+ </bean>
+
+ <bean id="slCommandFactory" class="at.gv.egiz.bku.slcommands.SLCommandFactory"
+ factory-method="getInstance">
+ <property name="concreteFactories">
+ <map>
+ <entry key-ref="nullOperationRequest" value-ref="nullOperationCommandFactory" />
+ <entry key-ref="infoboxReadRequest" value-ref="infoboxReadCommandFactory" />
+ <entry key-ref="infoboxUpdateRequest" value-ref="infoboxUpdateCommandFactory" />
+ <entry key-ref="createXMLSignatureRequest" value-ref="createXMLSignatureCommandFactory" />
+ <entry key-ref="getStatusRequest" value-ref="getStatusCommandFactory" />
+ </map>
+ </property>
+ </bean>
+
+ <!-- STAL factory -->
+ <bean id="stalFactory" class="at.gv.egiz.stal.dummy.DummyStalFactory"
+ scope="singleton">
+ </bean>
+
+ <!-- binding processor factories -->
+ <bean id="httpBindingProcessorFactory" class="at.gv.egiz.bku.binding.HTTPBindingProcessorFactory">
+ <property name="configuration" ref="configuration" />
+ <property name="slCommandFactory" ref="slCommandFactory" />
+ <property name="urlDereferencer" ref="urlDereferencer" />
+ </bean>
+
+ <!-- binding processor manager -->
+ <bean id="bindingProcessorManager" class="at.gv.egiz.bku.binding.BindingProcessorManagerImpl"
+ scope="singleton">
+ <property name="configuration" ref="configuration" />
+ <property name="stalFactory" ref="stalFactory" />
+ <property name="slCommandInvoker" ref="slCommandInvoker" />
+ <property name="factories">
+ <list>
+ <ref bean="httpBindingProcessorFactory"/>
+ </list>
+ </property>
+ </bean>
+
</beans> \ No newline at end of file