Hi Lenny,

You would need to create some AOP support that works the same way as
Shiro's existing AOP mechanisms work for Shiro's own annotations.

There is an AspectJ sample application that shows using AspectJ to
support Shiro's existing annotations here:

http://svn.apache.org/repos/asf/shiro/trunk/samples/aspectj/

I'm sure that could give you some ideas to support JEE annotations in
the same way.

HTH,

-- 
Les Hazlewood
CTO, Katasoft | http://www.katasoft.com | 888.391.5282
twitter: @lhazlewood | http://twitter.com/lhazlewood
katasoft blog: http://www.katasoft.com/blogs/lhazlewood
personal blog: http://leshazlewood.com

On Thu, Sep 8, 2011 at 11:18 AM, Lenny Primak <[email protected]> wrote:
> Hi, List,
> I am trying to integrade a JEE 6 application with Shiro-based components.
> I would prefer to use Shiro security, but the app users JEE annotations,
> i.e. @RolesAllowed
> Is there any way to bridge the two systems?

Reply via email to