camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-2779) Security - Allow to use Apache Shiro as security framework as well
Date Wed, 28 Jul 2010 04:46:53 GMT

    [ 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.


Mime
View raw message