Skip to content

KNOX-3421 - Upgrade Shiro to 2.2.1 - #1353

Merged
moresandeep merged 4 commits into
apache:masterfrom
moresandeep:KNOX-3421
Aug 21, 2026
Merged

KNOX-3421 - Upgrade Shiro to 2.2.1#1353
moresandeep merged 4 commits into
apache:masterfrom
moresandeep:KNOX-3421

Conversation

@moresandeep

Copy link
Copy Markdown
Contributor

(It is very important that you created an Apache Knox JIRA for this change and that the PR title/commit message includes the Apache Knox JIRA ID!)

Knox 3421 - Upgrade Shiro to 2.2.1

What changes were proposed in this pull request?

  • Update Shiro library (1.13.1) from EOLd to one that is supported (2.2.1)
  • Code changes due to the upgrade.

How was this patch tested?

  • This patch was tested locally in a test env.
  • Unit tests are added as part of this PR
  • New docker based tests added to catch regression and test the upgrade.

Integration Tests

  • New integration test added test_knox_ldap_dn_injection.py

@moresandeep
moresandeep requested review from hanicz, pzampino and smolnar82 and removed request for smolnar82 August 20, 2026 21:02
@github-actions

github-actions Bot commented Aug 20, 2026

Copy link
Copy Markdown

Test Results

 3 files   3 suites   8s ⏱️
52 tests 52 ✅ 0 💤 0 ❌
63 runs  63 ✅ 0 💤 0 ❌

Results for commit af4b7ef.

♻️ This comment has been updated with latest results.

@hanicz hanicz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Did you test caching as well?

@moresandeep
moresandeep requested a review from hanicz August 21, 2026 15:06
@moresandeep

Copy link
Copy Markdown
Contributor Author

Thanks for the review @hanicz, i addressed the comments and also added docker tests for LDAP caching.

@moresandeep
moresandeep merged commit 9522a5b into apache:master Aug 21, 2026
3 checks passed
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.

2 participants