-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
2.7.5.ER4
-
None
-
False
-
None
-
False
-
---
The property quarkus.http.auth.policy.[policyname].roles-allowed is not reflecting changes in the file $PWD/config/application.properties
Steps to reproduce:
- Unzip the reproducer.tar.gz
mvn clean install
java -jar target/quarkus-app/quarkus-run.jar
curl http://localhost:8080/test
Role is LOCALFS message is MESSAGE-FROM-LOCAL
- Next, stop application.
- Modify $PWD/config/application.properties:
quarkus.http.auth.policy.role-policy1.roles-allowed=LOCALFS#UPDATED quarkus.http.auth.permission.roles1.paths=/* quarkus.http.auth.permission.roles1.policy=role-policy1 quarkus.http.auth.permission.permit1.paths=/* quarkus.http.auth.permission.permit1.policy=permit quarkus.http.auth.permission.permit1.methods=GET message=MESSAGE-FROM-LOCAL#UPDATED
Then:
java -jar target/quarkus-app/quarkus-run.jar
curl http://localhost:8080/test
Role is LOCALFS message is MESSAGE-FROM-LOCAL#UPDATED
As you can see, only the property 'message' has been updated.
To see changes in both properties, a "mvn clean install" is needed after the edit.