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 
> 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' 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.
>> 
>> However, if you want an underlying MVC framework to handle the
>> requests, show errors and perform the authentication (i.e. a Struts
>> controller calls Subject.login), then you will want to use the
>> PassThruAuthenticationFilter instead.  You can override the 'authc'
>> filter to be the PassThruAuthenticationFilter if you still want to
>> reference the actual String 'authc' in your [urls] configuration
>> 
>> [main]
>> ...
>> authc = org.apache.shiro.web.filter.authc.PassThruAuthenticationFilter
>> 
>> HTH!
>> 
>> -- 
>> Les Hazlewood
>> Founder, Katasoft, Inc.
>> Application Security Products & Professional Apache Shiro Support and 
>> Training:
>> http://www.katasoft.com
> 

Reply via email to