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

Adding support to set arbitrary CacheManager and/or configuration file #14

Merged
merged 5 commits into from
Sep 29, 2016
Merged

Adding support to set arbitrary CacheManager and/or configuration file #14

merged 5 commits into from
Sep 29, 2016

Conversation

nenko-tabakov
Copy link
Contributor

No description provided.

import java.net.URL;

/**
* Shiro {@link CacheManager} implementation using the Ehcache 3.0 framework for all cache functionality
Copy link
Member

Choose a reason for hiding this comment

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

Would use 3.x here instead of 3.0 especially as prop replacement will end up requiring 3.2

@ljacomet
Copy link
Member

Looks good. Question though: did you figure out how to inject a custom config file from Shiro configuration?

@nenko-tabakov
Copy link
Contributor Author

According to this - http://shiro.apache.org/configuration.html - it should be cacheManager.cacheManagerConfigFile=file:/some/path/conf.xml
I didn't try it though


= Resources
Official Shiro documentation on http://shiro.apache.org/configuration.html[Configuration] and http://shiro.apache.org/session-management.html[Session Management]
Copy link
Member

Choose a reason for hiding this comment

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

I would link to the caching documentation as well

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