diff options
author | egernug <gerard.nugent@est.tech> | 2023-11-27 12:52:07 +0000 |
---|---|---|
committer | Priyank Maheshwari <priyank.maheshwari@est.tech> | 2023-11-28 12:02:14 +0000 |
commit | 5ab41978e980d6ae1ae59ebc6cc9d75a9cbea37e (patch) | |
tree | d6cc60c4ad665010901d1b3b0973d37cfd0c2ab6 /cps-application/src/main/resources/application.yml | |
parent | 86bd6d994d1daf3a3427a290a164af1081691a30 (diff) |
Return permit-uri from root to securty
In Springboot 3.0 an error was observed with security.permit-uri throwing a PatternParseException.
This appears to be fixed in 3.1.2
Issue-ID: CPS-1875
Signed-off-by: egernug <gerard.nugent@est.tech>
Change-Id: I8dd4f66868a5cc4db636d77f123ad5dbbd61f4b4
(cherry picked from commit ff598422ebf5bb21bb66eddc68042ebc0512b77d)
Diffstat (limited to 'cps-application/src/main/resources/application.yml')
-rw-r--r-- | cps-application/src/main/resources/application.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml index e84b1937b6..89969b9c6a 100644 --- a/cps-application/src/main/resources/application.yml +++ b/cps-application/src/main/resources/application.yml @@ -139,10 +139,11 @@ springdoc: - name: cps-ncmp-inventory url: /api-docs/cps-ncmp/openapi-inventory.yaml -permit-uri: /actuator/**,/swagger-ui.html,/swagger-ui/**,/swagger-resources/**,/api-docs/** + security: # comma-separated uri patterns which do not require authorization + permit-uri: /actuator/**,/swagger-ui.html,/swagger-ui/**,/swagger-resources/**,/api-docs/** auth: username: ${CPS_USERNAME} password: ${CPS_PASSWORD} |