Hi, Shiro is applied as a route policy on a camel route. The Producer/Consumer then has to send an encrypted Shiro token as a Camel header in the Exchange. This token is then decrypted and the route auth/authz policy applied based on the token.
http://camel.apache.org/shiro-security.html http://camel.apache.org/shiro-security.html Please check out the following links containing jUnit Tests for Camel based authentication/authorization. This should help you figure out how to use the camel-shiro component. https://svn.apache.org/viewvc/camel/trunk/components/camel-shiro/src/test/java/org/apache/camel/component/shiro/security/ShiroAuthenticationTest.java?view=log https://svn.apache.org/viewvc/camel/trunk/components/camel-shiro/src/test/java/org/apache/camel/component/shiro/security/ShiroAuthenticationTest.java?view=log https://svn.apache.org/viewvc/camel/trunk/components/camel-shiro/src/test/java/org/apache/camel/component/shiro/security/ShiroAuthorizationTest.java?revision=1222296&view=markup https://svn.apache.org/viewvc/camel/trunk/components/camel-shiro/src/test/java/org/apache/camel/component/shiro/security/ShiroAuthorizationTest.java?revision=1222296&view=markup Cheers, Ashwin... ----- --------------------------------------------------------- Ashwin Karpe Apache Camel Committer & Sr Principal Consultant FUSESource (a Progress Software Corporation subsidiary) http://fusesource.com Blog: http://opensourceknowledge.blogspot.com --------------------------------------------------------- -- View this message in context: http://camel.465427.n5.nabble.com/How-can-Shiro-be-used-with-camel-to-limit-access-to-a-route-tp5521623p5525304.html Sent from the Camel - Users mailing list archive at Nabble.com.
