summaryrefslogtreecommitdiff
path: root/BKULocal/src
diff options
context:
space:
mode:
authorbschnalzer <bianca.schnalzer@egiz.gv.at>2017-10-30 08:09:48 +0100
committerbschnalzer <bianca.schnalzer@egiz.gv.at>2017-10-30 08:09:48 +0100
commitc9421495bf0f6e5918cb17595a2fab677aec69a2 (patch)
tree277e663b9460cf6de489e0f40a8be5d447064907 /BKULocal/src
parent347544139cfa9f41bce3a41c1dc8777297fa188b (diff)
downloadmocca-c9421495bf0f6e5918cb17595a2fab677aec69a2.tar.gz
mocca-c9421495bf0f6e5918cb17595a2fab677aec69a2.tar.bz2
mocca-c9421495bf0f6e5918cb17595a2fab677aec69a2.zip
Updated Certs in TrustStore, added Access-Controll-Allow-Origin
(Response Header), applied Patch for Signature-Exception-Handling
Diffstat (limited to 'BKULocal/src')
-rw-r--r--BKULocal/src/main/java/at/gv/egiz/bku/local/webapp/BKURequestHandler.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/BKULocal/src/main/java/at/gv/egiz/bku/local/webapp/BKURequestHandler.java b/BKULocal/src/main/java/at/gv/egiz/bku/local/webapp/BKURequestHandler.java
index d607f67f..07cecbc4 100644
--- a/BKULocal/src/main/java/at/gv/egiz/bku/local/webapp/BKURequestHandler.java
+++ b/BKULocal/src/main/java/at/gv/egiz/bku/local/webapp/BKURequestHandler.java
@@ -140,6 +140,8 @@ public class BKURequestHandler extends SpringBKUServlet {
for (String header : responseHeaders.keySet()) {
resp.setHeader(header, responseHeaders.get(header));
}
+ //set response header for CORS manually
+ resp.setHeader("Access-Control-Allow-Origin", "*");
String serverHeader = bindingProcessor.getServerHeaderValue();
if (serverHeader != null && !serverHeader.isEmpty()) {
resp.setHeader(HttpUtil.HTTP_HEADER_SERVER, serverHeader);