Skip to content

Commit be248e9

Browse files
authored
Security properties (#178)
* update security props
1 parent 8e4715c commit be248e9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/resources/application.properties

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ quarkus.ssl.native=true
1414

1515
# cors properties
1616
quarkus.http.cors=true
17+
#quarkus.http.cors.exposed-headers=x-total-artifacts,x-total-pages,x-next-page,x-current-pages,x-per-page,last-update
18+
#quarkus.http.cors.headers=X-Custom,x-next-page
1719

1820
# jwt verification configuration
1921
mp.jwt.verify.publickey.location=${JWT_PUBLIC_KEY_LOCATION:META-INF/resources/publicKey.pem}
@@ -32,7 +34,7 @@ quarkus.http.auth.policy.role-reader.roles-allowed=reader,writer
3234
quarkus.http.auth.policy.role-writer.roles-allowed=writer
3335

3436
# set the /config endpoint(s) to reader or admin role
35-
quarkus.http.auth.permission.read.paths=/config
37+
quarkus.http.auth.permission.read.paths=/config/*
3638
quarkus.http.auth.permission.read.policy=role-reader
3739

3840
# set the /engagements/* endpoint(s) to writer for PUT and POST methods

0 commit comments

Comments
 (0)