camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
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


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
+        Factory<SecurityManager> factory = new IniSecurityManagerFactory("./src/test/resources/securityconfig.ini");
+        SecurityManager securityManager = factory.getInstance();
+        final ShiroSecurityPolicy securityPolicy = new ShiroSecurityPolicy(securityManager,
passPhrase, true, permissionsList);

Could be
+        final ShiroSecurityPolicy securityPolicy = new ShiroSecurityPolicy(".src/test/resources/securityconfig.ini",
passPhrase, true, permissionsList);

> Security - Allow to use Apache Shiro as security framework as well
> ------------------------------------------------------------------
>                 Key: CAMEL-2779
>                 URL:
>             Project: Apache Camel
>          Issue Type: New Feature
>            Reporter: Claus Ibsen
>            Assignee: Ashwin Karpe
>             Fix For: Future
>         Attachments:, camel-shiro.diff
> Looks like Apache Shiro could be a good security framework

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message