Skip to content

Commit

Permalink
Fix security paths after update of Quarkus.
Browse files Browse the repository at this point in the history
Signed-off-by: Dennis Labordus <dennis.labordus@alliander.com>
  • Loading branch information
Dennis Labordus committed Apr 20, 2022
1 parent 2c91469 commit 09d0f9f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
compas.userinfo.who.claimname = ${USERINFO_WHO_CLAIMNAME:name}

quarkus.http.cors = false
quarkus.http.root-path = /compas-scl-auto-alignment/
quarkus.http.root-path = /compas-scl-auto-alignment
quarkus.http.limits.max-body-size = 150M

quarkus.log.level = INFO
Expand Down Expand Up @@ -43,11 +43,11 @@ smallrye.jwt.path.groups = ${JWT_GROUPS_PATH:resource_access/scl-auto-al
quarkus.http.auth.permission.deny-default.paths=/*
quarkus.http.auth.permission.deny-default.policy=deny

quarkus.http.auth.permission.allow-quarkus-services.paths=/compas-scl-auto-alignment/q/health/live,/compas-scl-auto-alignment/q/health/ready,/compas-scl-auto-alignment/q/openapi
quarkus.http.auth.permission.allow-quarkus-services.paths=/q/health/live,/q/health/ready,/q/openapi
quarkus.http.auth.permission.allow-quarkus-services.policy=permit

%dev.quarkus.http.auth.permission.develop-quarkus-services.paths=/compas-scl-auto-alignment/q/swagger-ui/*,/compas-scl-auto-alignment/index.html
%dev.quarkus.http.auth.permission.develop-quarkus-services.paths=/q/swagger-ui/*,/index.html
%dev.quarkus.http.auth.permission.develop-quarkus-services.policy=permit

quarkus.http.auth.permission.common.paths=/compas-scl-auto-alignment/auto/alignment/v1/*
quarkus.http.auth.permission.common.paths=/auto/alignment/v1/*
quarkus.http.auth.permission.common.policy=authenticated

0 comments on commit 09d0f9f

Please sign in to comment.