From c9421495bf0f6e5918cb17595a2fab677aec69a2 Mon Sep 17 00:00:00 2001 From: bschnalzer Date: Mon, 30 Oct 2017 08:09:48 +0100 Subject: Updated Certs in TrustStore, added Access-Controll-Allow-Origin (Response Header), applied Patch for Signature-Exception-Handling --- .../src/main/java/at/gv/egiz/bku/local/webapp/BKURequestHandler.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'BKULocal') 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); -- cgit v1.2.3