summaryrefslogtreecommitdiff
path: root/BKUOnline/src/main/webapp/WEB-INF
diff options
context:
space:
mode:
authorBonato, Martin <martin.bonato@prime-sign.com>2018-02-08 22:19:55 +0100
committerBonato, Martin <martin.bonato@prime-sign.com>2018-02-08 22:19:55 +0100
commitb9ccb62d35a755efb505d426ce924d5a8fbe937a (patch)
tree00d17aa7dc660eb0e90ae753e36a623d672fc0e0 /BKUOnline/src/main/webapp/WEB-INF
parent84794c877062fe0424f357be0e83bdd045d75d52 (diff)
downloadmocca-b9ccb62d35a755efb505d426ce924d5a8fbe937a.tar.gz
mocca-b9ccb62d35a755efb505d426ce924d5a8fbe937a.tar.bz2
mocca-b9ccb62d35a755efb505d426ce924d5a8fbe937a.zip
BulkSignature implementationfb-bulksignature
Diffstat (limited to 'BKUOnline/src/main/webapp/WEB-INF')
-rw-r--r--BKUOnline/src/main/webapp/WEB-INF/applicationContext.xml15
-rw-r--r--BKUOnline/src/main/webapp/WEB-INF/wsdl/stal.xsd19
2 files changed, 31 insertions, 3 deletions
diff --git a/BKUOnline/src/main/webapp/WEB-INF/applicationContext.xml b/BKUOnline/src/main/webapp/WEB-INF/applicationContext.xml
index 7534a9c9..2ca9ce9c 100644
--- a/BKUOnline/src/main/webapp/WEB-INF/applicationContext.xml
+++ b/BKUOnline/src/main/webapp/WEB-INF/applicationContext.xml
@@ -50,10 +50,10 @@
<property name="configuration" ref="configuration"/>
</bean>
- <bean id="urlDereferencer" class="at.gv.egiz.bku.utils.urldereferencer.URLDereferencerImpl"
- factory-method="getInstance">
- <property name="SSLSocketFactory" ref="sslSocketFactory"/>
+ <bean id="urlDereferencer" class="at.gv.egiz.bku.spring.URLDereferencerFactoryBean">
+ <property name="sslSocketFactory" ref="sslSocketFactory"/>
<property name="hostnameVerifier" ref="hostnameVerifier"/>
+ <property name="configuration" ref="configuration"/>
</bean>
<!-- security manager for the command invoker -->
@@ -144,6 +144,14 @@
value="http://www.buergerkarte.at/namespaces/securitylayer/1.2#" />
<constructor-arg value="CreateCMSSignatureRequest" />
</bean>
+ <bean id="bulkCommandFactory"
+ class="at.gv.egiz.bku.slcommands.impl.BulkCommandFactory"
+ parent="abstractCommandFactory" />
+ <bean id="bulkRequest" class="javax.xml.namespace.QName">
+ <constructor-arg
+ value="http://www.buergerkarte.at/namespaces/securitylayer/1.2#" />
+ <constructor-arg value="BulkRequest"/>
+ </bean>
<bean id="getStatusCommandFactory" class="at.gv.egiz.bku.slcommands.impl.GetStatusCommandFactory"
parent="abstractCommandFactory" />
<bean id="getStatusRequest" class="javax.xml.namespace.QName">
@@ -161,6 +169,7 @@
<entry key-ref="infoboxUpdateRequest" value-ref="infoboxUpdateCommandFactory" />
<entry key-ref="createXMLSignatureRequest" value-ref="createXMLSignatureCommandFactory" />
<entry key-ref="createCMSSignatureRequest" value-ref="createCMSSignatureCommandFactory" />
+ <entry key-ref="bulkRequest" value-ref="bulkCommandFactory" />
<entry key-ref="getStatusRequest" value-ref="getStatusCommandFactory" />
</map>
</property>
diff --git a/BKUOnline/src/main/webapp/WEB-INF/wsdl/stal.xsd b/BKUOnline/src/main/webapp/WEB-INF/wsdl/stal.xsd
index 750cf355..8dc20ec7 100644
--- a/BKUOnline/src/main/webapp/WEB-INF/wsdl/stal.xsd
+++ b/BKUOnline/src/main/webapp/WEB-INF/wsdl/stal.xsd
@@ -38,6 +38,7 @@
<choice maxOccurs="unbounded">
<element name="InfoboxReadResponse" type="tns:InfoboxReadResponseType"/>
<element name="SignResponse" type="tns:SignResponseType"/>
+ <element name="BulkSignResponse" type="tns:BulkSignResponseType"/>
<element name="ErrorResponse" type="tns:ErrorResponseType"/>
<element name="StatusResponse" type="tns:StatusResponseType"/>
</choice>
@@ -87,6 +88,7 @@
<choice maxOccurs="unbounded">
<element name="InfoboxReadRequest" type="tns:InfoboxReadRequestType"/>
<element name="SignRequest" type="tns:SignRequestType"/>
+ <element name="BulkSignRequest" type="tns:BulkSignRequestType"/>
<element name="QuitRequest" type="tns:QuitRequestType"/>
<element name="StatusRequest" type="tns:StatusRequestType"/>
</choice>
@@ -134,6 +136,8 @@
</element>
<element name="SignatureMethod" type="string" minOccurs="0"/>
<element name="DigestMethod" type="string" minOccurs="0"/>
+ <element name="displayName" type="string" minOccurs="0"/>
+ <element name="mimeType" type="string" minOccurs="0"/>
<element name="ExcludedByteRange" minOccurs="0">
<complexType>
<attribute name="from" type="unsignedLong" use="required"/>
@@ -144,6 +148,20 @@
</extension>
</complexContent>
</complexType>
+
+ <complexType name="BulkSignRequestType">
+ <sequence minOccurs="1" maxOccurs="unbounded">
+ <element name="SignResponse" type="tns:SignRequestType"/>
+ </sequence>
+ </complexType>
+
+
+ <complexType name="BulkSignResponseType">
+ <sequence minOccurs="1" maxOccurs="unbounded">
+ <element name="SignResponse" type="tns:SignResponseType"/>
+ </sequence>
+ </complexType>
+
<complexType name="QuitRequestType">
<complexContent>
<extension base="tns:RequestType"/>
@@ -159,6 +177,7 @@
<element name="Reference" maxOccurs="unbounded">
<complexType>
<attribute name="ID" type="string"/>
+ <attribute use="optional" name="digest" type="base64Binary"/>
</complexType>
</element>
</sequence>