Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CDR-1329] Move CSRF config to an ehrbase.security.* property #1297

Merged
merged 2 commits into from
May 2, 2024

Conversation

alexlehn
Copy link
Contributor

Changes

Change the management endpoint CSRF property location from management.endpoints.web.csrf-validation-enabled to ehrbase.security.management.endpoints.web.csrf-validation-enabled.

see #1294 (comment)

Pre-Merge checklist

  • New code is tested
  • Present and new tests pass
  • Documentation is updated
  • The build is working without errors
  • No new Sonar issues introduced
  • Changelog is updated
  • Code has been reviewed

@alexlehn alexlehn force-pushed the feature/CDR-1329-change-management-csrf-property branch from 23050d0 to 898b7c7 Compare April 29, 2024 07:08
Copy link

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass % ⏱️ Duration
1394 0 139 1394 100 0s

@alexlehn alexlehn marked this pull request as ready for review April 29, 2024 07:17
@alexlehn alexlehn changed the title CDR-1329 Move CSRF config to an ehrbase.security.* property [CDR-1329] Move CSRF config to an ehrbase.security.* property Apr 30, 2024
CHANGELOG.md Outdated Show resolved Hide resolved
@@ -43,7 +44,7 @@
* {@link Configuration} for secured endpoint authentication.
*/
@Configuration(proxyBeanMethods = false)
@EnableConfigurationProperties({SecurityProperties.class, SecuredWebEndpointProperties.class})
@EnableConfigurationProperties({SecurityProperties.class, SecurityProperties.class})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplication of SecurityProperties.class

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops ... fixed

Copy link

sonarcloud bot commented May 2, 2024

@alexlehn alexlehn merged commit 9da51b6 into develop May 2, 2024
36 checks passed
@alexlehn alexlehn deleted the feature/CDR-1329-change-management-csrf-property branch May 2, 2024 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants