[CAMEL-20747] Migrate SpringSecurityAuthorizationPolicy to Spring 5#14082
[CAMEL-20747] Migrate SpringSecurityAuthorizationPolicy to Spring 5#14082davsclaus merged 5 commits intoapache:mainfrom
Conversation
…thods and classes, using the new Authorization manager.
|
🌟 Thank you for your contribution to the Apache Camel project! 🌟 🤖 CI automation will test this PR automatically. 🐫 Apache Camel Committers, please review the following items:
|
|
Tested the snapshot locally with success using the following policy definition: |
|
the PR gives a test error with org.apache.camel.component.spring.security.config.SpringSecurityAuthorizationPolicyConfigTest.testAuthorizationPolicy |
Sorry, missed one of the test resources. Ran |
|
Can you add a section about this change to the 4.7 upgrade doc at |
…pache#14082) * Changed the SpringSecurityAuthorizationPolicy to remove deprecated methods and classes, using the new Authorization manager. * Missed an xml resource, fixed tests * Updated failing integration tests as a result of the component change. * Added notes to the upgrade guide. --------- Co-authored-by: Claus Ibsen <claus.ibsen@gmail.com>
Description
Changed the SpringSecurityAuthorizationPolicy to remove deprecated methods and classes, using the new Authorization manager. See the following links for reference:
Target
camel-3.x, whereas Camel 4 uses themainbranch)Tracking
CAMEL-20747 - Remove usage of deprecated Spring Security classes for route policies
Apache Camel coding standards and style
I checked that each commit in the pull request has a meaningful subject line and body.
I have run
mvn clean install -DskipTestslocally and I have committed all auto-generated changes