Skip to content

fix: [OData] Make CSRF token call opt-in - #1279

Draft
Jonas-Isr wants to merge 1 commit into
mainfrom
csrf-call-opt-in
Draft

Jonas-Isr wants to merge 1 commit into
mainfrom
csrf-call-opt-in

Conversation

@Jonas-Isr

Copy link
Copy Markdown
Member

Context

Potential fix for

Feature scope:

This PR makes CSRF opt-in and introduced a dedicated OData accessor as the opt-in entry point.

  • introduce ApacheHttpClient5FactoryBuilder.withCsrfTokenInterceptor()
  • DefaultApacheHttpClient5Factory is changed to opt-in for CSRF
  • introduce ODataApacheHttpClient5Accessor as accessor to build a CSRF-enabled client

Definition of Done

  • Functionality scope stated & covered
  • Tests cover the scope above
  • Error handling created / updated & covered by the tests above
  • Documentation updated
  • Release notes updated

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.

1 participant