Skip to content

Commit

Permalink
Security properties (#178)
Browse files Browse the repository at this point in the history
* update security props
  • Loading branch information
mcanoy authored Feb 22, 2022
1 parent 8e4715c commit be248e9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ quarkus.ssl.native=true

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

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

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

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

0 comments on commit be248e9

Please sign in to comment.