You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Chris Geer (JIRA)" <ji...@apache.org> on 2012/10/19 22:12:12 UTC
[jira] [Created] (SHIRO-389) Fix OSGI Exports for shiro-ehcache
Chris Geer created SHIRO-389:
--------------------------------
Summary: Fix OSGI Exports for shiro-ehcache
Key: SHIRO-389
URL: https://issues.apache.org/jira/browse/SHIRO-389
Project: Shiro
Issue Type: Bug
Components: Caching
Affects Versions: 1.2.1, 1.3.0
Reporter: Chris Geer
Currently the osgi-export in the pom file is org.apache.shiro.ehcache which isn't a valid package. It should be changed to org.apache.shiro.cache.ehcache
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (SHIRO-389) Fix OSGI Exports for shiro-ehcache
Posted by "Mladen Marev (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHIRO-389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mladen Marev updated SHIRO-389:
-------------------------------
Attachment: SHIRO_389_core.patch
Patch for optional core import of org.apache.shiro.cache.ehcache package
> Fix OSGI Exports for shiro-ehcache
> ----------------------------------
>
> Key: SHIRO-389
> URL: https://issues.apache.org/jira/browse/SHIRO-389
> Project: Shiro
> Issue Type: Bug
> Components: Caching
> Affects Versions: 1.2.1, 1.3.0
> Reporter: Chris Geer
> Attachments: SHIRO_389_core.patch, SHIRO-389.patch
>
>
> Currently the osgi-export in the pom file is org.apache.shiro.ehcache which isn't a valid package. It should be changed to org.apache.shiro.cache.ehcache
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SHIRO-389) Fix OSGI Exports for shiro-ehcache
Posted by "Mladen Marev (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHIRO-389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13488609#comment-13488609 ]
Mladen Marev commented on SHIRO-389:
------------------------------------
Actually this is not enough.
If you have this in shiri.ini in OSGi environment:
cacheManager = org.apache.shiro.cache.ehcache.EhCacheManager
securityManager.cacheManager = $cacheManager
shiro does not see the class.
It needs optional import on the exported org.apache.shiro.cache.ehcache package, so that if it is available as bundle to be able to use it.
Other option is to make shiro-ehcache a fragment to shiro-core.
> Fix OSGI Exports for shiro-ehcache
> ----------------------------------
>
> Key: SHIRO-389
> URL: https://issues.apache.org/jira/browse/SHIRO-389
> Project: Shiro
> Issue Type: Bug
> Components: Caching
> Affects Versions: 1.2.1, 1.3.0
> Reporter: Chris Geer
> Attachments: SHIRO-389.patch
>
>
> Currently the osgi-export in the pom file is org.apache.shiro.ehcache which isn't a valid package. It should be changed to org.apache.shiro.cache.ehcache
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Comment Edited] (SHIRO-389) Fix OSGI Exports for
shiro-ehcache
Posted by "Les Hazlewood (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHIRO-389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13488879#comment-13488879 ]
Les Hazlewood edited comment on SHIRO-389 at 11/1/12 5:47 PM:
--------------------------------------------------------------
Thanks for the patches!
was (Author: lhazlewood):
Thanks for the patch!
> Fix OSGI Exports for shiro-ehcache
> ----------------------------------
>
> Key: SHIRO-389
> URL: https://issues.apache.org/jira/browse/SHIRO-389
> Project: Shiro
> Issue Type: Bug
> Components: Caching
> Affects Versions: 1.2.1, 1.3.0
> Reporter: Chris Geer
> Attachments: SHIRO_389_core.patch, SHIRO-389.patch
>
>
> Currently the osgi-export in the pom file is org.apache.shiro.ehcache which isn't a valid package. It should be changed to org.apache.shiro.cache.ehcache
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Comment Edited] (SHIRO-389) Fix OSGI Exports for
shiro-ehcache
Posted by "Mladen Marev (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHIRO-389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13488609#comment-13488609 ]
Mladen Marev edited comment on SHIRO-389 at 11/1/12 11:12 AM:
--------------------------------------------------------------
Actually this is not enough.
If you have this in shiro.ini in OSGi environment:
cacheManager = org.apache.shiro.cache.ehcache.EhCacheManager
securityManager.cacheManager = $cacheManager
shiro does not see the class.
It needs optional import on the exported org.apache.shiro.cache.ehcache package, so that if it is available as bundle to be able to use it.
Other option is to make shiro-ehcache a fragment to shiro-core.
was (Author: mdmarev):
Actually this is not enough.
If you have this in shiri.ini in OSGi environment:
cacheManager = org.apache.shiro.cache.ehcache.EhCacheManager
securityManager.cacheManager = $cacheManager
shiro does not see the class.
It needs optional import on the exported org.apache.shiro.cache.ehcache package, so that if it is available as bundle to be able to use it.
Other option is to make shiro-ehcache a fragment to shiro-core.
> Fix OSGI Exports for shiro-ehcache
> ----------------------------------
>
> Key: SHIRO-389
> URL: https://issues.apache.org/jira/browse/SHIRO-389
> Project: Shiro
> Issue Type: Bug
> Components: Caching
> Affects Versions: 1.2.1, 1.3.0
> Reporter: Chris Geer
> Attachments: SHIRO_389_core.patch, SHIRO-389.patch
>
>
> Currently the osgi-export in the pom file is org.apache.shiro.ehcache which isn't a valid package. It should be changed to org.apache.shiro.cache.ehcache
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (SHIRO-389) Fix OSGI Exports for shiro-ehcache
Posted by "Chris Geer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHIRO-389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Geer updated SHIRO-389:
-----------------------------
Attachment: SHIRO-389.patch
Patch to fix the OSGI exports.
> Fix OSGI Exports for shiro-ehcache
> ----------------------------------
>
> Key: SHIRO-389
> URL: https://issues.apache.org/jira/browse/SHIRO-389
> Project: Shiro
> Issue Type: Bug
> Components: Caching
> Affects Versions: 1.2.1, 1.3.0
> Reporter: Chris Geer
> Attachments: SHIRO-389.patch
>
>
> Currently the osgi-export in the pom file is org.apache.shiro.ehcache which isn't a valid package. It should be changed to org.apache.shiro.cache.ehcache
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SHIRO-389) Fix OSGI Exports for shiro-ehcache
Posted by "Les Hazlewood (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHIRO-389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13488879#comment-13488879 ]
Les Hazlewood commented on SHIRO-389:
-------------------------------------
Thanks for the patch!
> Fix OSGI Exports for shiro-ehcache
> ----------------------------------
>
> Key: SHIRO-389
> URL: https://issues.apache.org/jira/browse/SHIRO-389
> Project: Shiro
> Issue Type: Bug
> Components: Caching
> Affects Versions: 1.2.1, 1.3.0
> Reporter: Chris Geer
> Attachments: SHIRO_389_core.patch, SHIRO-389.patch
>
>
> Currently the osgi-export in the pom file is org.apache.shiro.ehcache which isn't a valid package. It should be changed to org.apache.shiro.cache.ehcache
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira