Skip to content

feat: updated shiro#664

Merged
ymarcon merged 2 commits into
masterfrom
feat/shiro2
Mar 14, 2026
Merged

feat: updated shiro#664
ymarcon merged 2 commits into
masterfrom
feat/shiro2

Conversation

@ymarcon
Copy link
Copy Markdown
Member

@ymarcon ymarcon commented Mar 14, 2026

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the project’s Apache Shiro stack to a newer major version and adapts the Ehcache integration accordingly so Shiro caching continues to work after the upgrade.

Changes:

  • Bump Shiro to 2.1.0 and obiba-commons to 5.1.0.
  • Replace shiro-ehcache3 integration with JCache (cache-api + shiro-jcache) dependencies.
  • Update Shiro-related imports/usages for the new package structure and initialize Shiro caching via JCache/Ehcache.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
pom.xml Bumps Shiro/obiba-commons versions and adds JCache + Shiro JCache dependency management.
agate-core/pom.xml Swaps module-level Shiro caching dependency from shiro-ehcache3 to cache-api + shiro-jcache.
agate-core/src/main/java/org/obiba/agate/security/SecurityManagerFactory.java Replaces Ehcache-specific Shiro cache manager initialization with JCache-backed initialization.
agate-core/src/main/java/org/obiba/agate/service/ConfigurationService.java Updates Shiro crypto/codec imports and adjusts decrypt byte handling for Shiro 2.x APIs.
agate-core/src/main/java/org/obiba/agate/security/AgateUserRealm.java Updates Shiro SimpleByteSource import to new package.
agate-webapp/src/main/java/org/obiba/agate/config/WebConfiguration.java Import cleanups/reordering (no functional changes in shown excerpt).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread agate-core/src/main/java/org/obiba/agate/security/SecurityManagerFactory.java Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@ymarcon ymarcon merged commit b427e20 into master Mar 14, 2026
2 checks passed
@ymarcon ymarcon deleted the feat/shiro2 branch March 14, 2026 15:25
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