aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources/application.yml
diff options
context:
space:
mode:
authorNiamh Core <niamh.core@est.tech>2021-08-23 14:40:55 +0000
committerGerrit Code Review <gerrit@onap.org>2021-08-23 14:40:55 +0000
commitf2f0a770d2e4e9dde29c4e77c18fedd70331b5e7 (patch)
tree356975d0bd24bac5d0357c1bc46c8bd2af0490f2 /src/main/resources/application.yml
parent2a41a4f022af65ab878f6e6f7646e78d4ef27a06 (diff)
parent743380d1f171d4c0dd46dc0cd5b47d8ea93bea44 (diff)
Merge "Add basic security to query interface"
Diffstat (limited to 'src/main/resources/application.yml')
-rwxr-xr-xsrc/main/resources/application.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 41eddf8..a3b1cd8 100755
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -68,6 +68,12 @@ springdoc:
urls:
- name: query
url: /swagger/openapi.yml
+security:
+ # comma-separated uri patterns which do not require authorization
+ permit-uri: /manage/**,/swagger-ui/**,/swagger-resources/**,/swagger/openapi.yml
+ auth:
+ username: ${APP_USERNAME}
+ password: ${APP_PASSWORD}
# Actuator
management: