Hi, I want to migrate my application from Spring Security 2 to version 3 because of better API. In fact, I've got trouble with custom filters.
In Spring Security 2.0 I can have multiple XML contexts with custom filters defined for example like:
where MyPreAuthenticatedProcessingFilter extends AbstractPreAuthenticatedProcessingFilter. In 3.0 the security:custom-filter element was moved to security:http element.Code:<bean id="myPreAuthenticatedProcessingFilter" class="test.MyPreAuthenticatedProcessingFilter"> <security:custom-filter position="PRE_AUTH_FILTER"/> <property name="authenticationManager" ref="authenticationManager"/> <property name="authenticationDetailsSource" ref="myPreDetailsSource"/> </bean>
Is there any solution to configure custom filters in multiple files in 3.0 version?


Reply With Quote
