[ https://issues.apache.org/activemq/browse/CAMEL-2779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60976#action_60976 ]
Les Hazlewood commented on CAMEL-2779: -------------------------------------- Sorry this comment is a little late, but for posterity, the configuration options for the IniSecurityManagerFactory are listed here: http://incubator.apache.org/shiro/configuration.html#Configuration-CreatingaSecurityManagerfromINI You can load a .ini resource from the classpath, file system, or from any url. If you don't want to use these three, you can alternatively programmatically construct an Ini instance and use that directly. In fact, the resource-based options do exactly this internally and reduce to an Ini instance. But if you use the Shiro resource prefixes, you could have your one-liner be something like this: {code} final ShiroSecurityPolicy securityPolicy = new ShiroSecurityPolicy(resourcePath, passPhrase, true, permissionsList); {code} where 'resourcePath' is something like "classpath:com/company/security/myShiroConfig.ini" or "file:///home/username/.apache/camel/shiroConfig.ini" or "url:http://configHost.company.com/foo/bar/shiro.ini". Whatever you want. Also note that the IniRealm is typically easier to read and more widely used (read: better community tested) than the older, somewhat defunct PropertiesRealm. HTH! Best, Les > 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: 2.5.0 > > Attachments: camel-shiro-20100728.diff, camel-shiro-20100728.zip > > > 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.