shiro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lenny Primak <lpri...@hope.nyc.ny.us>
Subject Re: Working with JEE 6 security annotations
Date Fri, 09 Sep 2011 01:53:08 GMT
Thanks Les. I was hoping that there was someone who already did this. Fir this to work I would
have to dig into the glassfish SPI and other things. 
A lot of these integrations don't exist I am finding out. 
People are still afraid of JEE I suppose. 

On Sep 8, 2011, at 6:29 PM, Les Hazlewood <lhazlewood@apache.org> wrote:

> 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 <lprimak@hope.nyc.ny.us> 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?
> 

Mime
View raw message