summaryrefslogtreecommitdiffstats
path: root/docker-compose/application.yml
diff options
context:
space:
mode:
authorToine Siebelink <toine.siebelink@est.tech>2021-03-12 16:04:00 +0000
committerGerrit Code Review <gerrit@onap.org>2021-03-12 16:04:00 +0000
commit344434b68c2418c6e901e7acab02886be6e6b1cb (patch)
tree09c332bc664fe25513919c5f05a3c73fed6edb78 /docker-compose/application.yml
parent3de08a9590b5590d5961d9e4047751760043307e (diff)
parent0d6bbae9baa4531f5b5c3009fa72e691cf30fe41 (diff)
Merge "Move web security configuration to application module"
Diffstat (limited to 'docker-compose/application.yml')
-rw-r--r--docker-compose/application.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/docker-compose/application.yml b/docker-compose/application.yml
index 9b841cb860..be4b688cf3 100644
--- a/docker-compose/application.yml
+++ b/docker-compose/application.yml
@@ -34,6 +34,13 @@ spring:
change-log: classpath:changelog/changelog-master.yaml
labels: ${LIQUIBASE_LABELS}
+security:
+ # comma-separated uri patterns which do not require authorization
+ permit-uri: /manage/health/**,/manage/info,/swagger-ui/**,/swagger-resources/**,/v3/api-docs
+ auth:
+ username: ${CPS_USERNAME:cpsuser}
+ password: ${CPS_PASSWORD:cpsr0cks!}
+
# Actuator
management:
endpoints: