[
https://issues.apache.org/activemq/browse/CAMEL-2779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60952#action_60952
]
Claus Ibsen commented on CAMEL-2779:
------------------------------------
Les / Ashwin
I assume the {{IniSecurityManagerFactory}} loads the .ini file from classpath
What if you want to load the ini file from file system?
And does the loading from Classpath support OSGi environments?
We need to add a test for this in camel/tests/camel-itest-osgi
Is Apache Shirino jar OSGi bundles?
Ashwin I wonder if loading from an ini file is the most common thing, we could
maybe make the policy a one liner
{code}
+ Factory<SecurityManager> factory = new
IniSecurityManagerFactory("./src/test/resources/securityconfig.ini");
+ SecurityManager securityManager = factory.getInstance();
+ final ShiroSecurityPolicy securityPolicy = new
ShiroSecurityPolicy(securityManager, passPhrase, true, permissionsList);
+
{code}
Could be
{code}
+ final ShiroSecurityPolicy securityPolicy = new
ShiroSecurityPolicy(".src/test/resources/securityconfig.ini", passPhrase, true,
permissionsList);
+
{code}
> Security - Allow to use Apache Shiro as security framework as well
> ------------------------------------------------------------------
>
> Key: CAMEL-2779
> URL: https://issues.apache.org/activemq/browse/CAMEL-2779
> Project: Apache Camel
> Issue Type: New Feature
> Reporter: Claus Ibsen
> Assignee: Ashwin Karpe
> Fix For: Future
>
> Attachments: camel-shiro-20100727.zip, camel-shiro.diff
>
>
> Looks like Apache Shiro could be a good security framework
> http://incubator.apache.org/shiro/index.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.