Spring2 Branch - webapp filter sample invalid config

Aug 11, 2011 at 5:18 PM


I wanted to use the Spring2 branch but I can't even get the webapp from sample/waffle-spring-filter to work.

First, the waffle-filter.xml references elements that are only available in Spring3.x

Second, I have no idea how to fix this correctly.

For example:

<sec:http entry-point-ref="negotiateSecurityFilterEntryPoint">
    <sec:intercept-url pattern="/**" access="IS_AUTHENTICATED_FULLY" />
    <sec:custom-filter ref="waffleNegotiateSecurityFilter" position="BASIC_AUTH_FILTER" />

Where sec:custom-filter is invalid in the 2.x spec (isn't it?) and the position value is invalid according to the 2.x documentation.
Another one is
<bean id="negotiateSecurityFilterEntryPoint" class="waffle.spring.NegotiateSecurityFilterEntryPoint">
		<property name="Provider" ref="waffleSecurityFilterProviderCollection" />
Where I receive an error for property Provider, as it is supposed to be lowercase, no?

Any help/tips/questions appreciated!
Aug 12, 2011 at 7:47 PM

I merged the branch, but I have no idea how to fix the spring errors. Would love a patch!