Re: Struts2 integration

2010-10-31 Thread Alan D. Cabrera
The code has been checked into the sandbox. I also discovered a possible bug, SHIRO-212. Regards, Alan On Oct 23, 2010, at 7:24 AM, Alan D. Cabrera wrote: > PassThruAuthenticationFilter. That's the ticket. Thanks. > > So it's starting to look like there's not a lot of code; just a simple

Re: Struts2 integration

2010-10-31 Thread Alan D. Cabrera
The code has been checked into the sandbox. I also discovered a possible bug, SHIRO-212. Regards, Alan On Oct 23, 2010, at 7:24 AM, Alan D. Cabrera wrote: > PassThruAuthenticationFilter. That's the ticket. Thanks. > > So it's starting to look like there's not a lot of code; just a simple

Re: Struts2 integration

2010-10-23 Thread Alan D. Cabrera
PassThruAuthenticationFilter. That's the ticket. Thanks. So it's starting to look like there's not a lot of code; just a simple interceptor. I do have a nice example. I'll get this in this weekend. Regards, Alan On Oct 18, 2010, at 1:54 PM, Les Hazlewood wrote: > By default, the 'authc'

Re: Struts2 integration

2010-10-18 Thread Les Hazlewood
By default, the 'authc' filter is a FormAuthenticationFilter. This filter assumes that it itself is the 'controller' for processing an authentication request and handles a success by redirecting to a success URL. This filter is suitable if the underlying view is a static html page or raw .jsp page

Re: Struts2 integration

2010-10-16 Thread Alan D. Cabrera
Yay! Thanks! Regards, Alan On Oct 15, 2010, at 3:28 PM, Les Hazlewood wrote: > Hi Alan, > > You should have commit rights again :) > > Cheers, > > Les > > On Thu, Oct 14, 2010 at 1:09 PM, Alan D. Cabrera wrote: >> Not sure. I would pester infra. >> >> >> Regards, >> Alan >> >> On Oct

Re: Struts2 integration

2010-10-15 Thread Les Hazlewood
Hi Alan, You should have commit rights again :) Cheers, Les On Thu, Oct 14, 2010 at 1:09 PM, Alan D. Cabrera wrote: > Not sure.  I would pester infra. > > > Regards, > Alan > > On Oct 13, 2010, at 11:31 AM, Les Hazlewood wrote: > >> Oops - yeah, I've been meaning to get to this per Craig's ear

Re: Struts2 integration

2010-10-14 Thread Alan D. Cabrera
Not sure. I would pester infra. Regards, Alan On Oct 13, 2010, at 11:31 AM, Les Hazlewood wrote: > Oops - yeah, I've been meaning to get to this per Craig's earlier > email, sorry. How do I go about getting this turned back on? Is > there some script I can run somewhere? > > Cheers, > > Le

Re: Struts2 integration

2010-10-13 Thread Les Hazlewood
Oops - yeah, I've been meaning to get to this per Craig's earlier email, sorry. How do I go about getting this turned back on? Is there some script I can run somewhere? Cheers, Les On Tue, Oct 12, 2010 at 9:39 PM, Alan D. Cabrera wrote: > I think that we can use the Shiro filters as they exis

Re: Struts2 integration

2010-10-12 Thread Alan D. Cabrera
I think that we can use the Shiro filters as they exist. All we need to do is add a Struts 2 interceptor for Shiro to inject the aquired Shiro subject into the value stack. This Shiro subject can be used by login actions to check if a login was successful. I was going to work out a sketch of

Re: Struts2 integration

2010-10-07 Thread Les Hazlewood
Hi Alan, I haven't used Struts (ever), so I won't be able to offer struts-specific advice. But because it is a typical request/response MVC framework w/ servlets and JSPs (AIUI), just defining the IniShiroFilter in web.xml should be all that is necessary. If it is not Spring-based and you want t