From 0d7feec2e32f69a8e919f06f03df3ce46e78801d Mon Sep 17 00:00:00 2001 From: "Lee, Tian (tl5884)" Date: Thu, 20 Sep 2018 12:27:40 +0100 Subject: Initial drop of rProxy code The Reverse Proxy sidecar is used to separate the responsibility of authentication and authorization away from the primary microservice. In conjunction with the Forward Proxy sidecar, it is responsible for controlling access to the REST URL endpoints exposed by the primary microservice, and propogating security credentials to downstream microservices. Change-Id: I5d80429e5422d7b3937cde73ac10c2ec00d264e8 Issue-ID: AAI-1604 Signed-off-by: Lee, Tian (tl5884) --- .../src/main/resources/application.properties | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 sidecar/rproxy/src/main/resources/application.properties (limited to 'sidecar/rproxy/src/main/resources') diff --git a/sidecar/rproxy/src/main/resources/application.properties b/sidecar/rproxy/src/main/resources/application.properties new file mode 100644 index 0000000..f291372 --- /dev/null +++ b/sidecar/rproxy/src/main/resources/application.properties @@ -0,0 +1,22 @@ +CONFIG_HOME=./config + +server.port=10692 + +server.ssl.enabled=true +server.ssl.protocol=TLS +server.ssl.enabled-protocols=TLSv1.2 +server.ssl.key-store=${CONFIG_HOME}/auth/tomcat_keystore +server.ssl.client-auth=need + +server.ssl.client-cert=${CONFIG_HOME}/auth/client-cert.p12 + +server.servlet.contextPath=/ + +uri.authorization.configuration-file=${CONFIG_HOME}/auth/uri-authorization.json + +logging.config=${CONFIG_HOME}/logback-spring.xml + +spring.profiles.default=secure,cadi + +# For Spring Boot Actuator endpoints +management.endpoints.web.base-path=/rproxy \ No newline at end of file -- cgit 1.2.3-korg