Saturday, April 24, 2010

How the filter chain works?

Going back to the filter chain configuration in my last post, you can see a chain filters configured as shown below:
<bean id="springSecurityFilterChain" class="">
<sec:filter-chain-map path-type="ant">
<sec:filter-chain pattern="/SkyPhotoWeb/**" filters=" securityContextPersistenceFilterWithASCFalse, basicAuthenticationFilter, exceptionTranslationFilter, filterSecurityInterceptor" />
<sec:filter-chain pattern="/**" filters=" securityContextPersistenceFilterWithASCTrue, formLoginFilter, exceptionTranslationFilter, filterSecurityInterceptor" />
Let us assume that a request is send as the request runs through the filters as shown in picture below:
In my next post I will explain all these and few other important filters in greater detail.

1 comment:

  1. Thanks for this explanation..really helped for a bigginer....