我不知道有關的FilterChainProxy,我有春天的安全在我的應用程序工作正常,但我需要加載ConfigAttributes從屬性文件..Spring Security filterChainProxy?!?!聲明所有過濾器只使用一個自定義過濾器?
我知道我需要去創建類實現FilterInvocationSecurityMetadataSource ..然後我做到了..之後
當我讀到這個..我的文檔我要聲明filterchaeinProxy在應用程序上下文XML ..這樣在看到..
<bean id="filterChainProxy" class="org.springframework.security.web.FilterChainProxy">
<constructor-arg>
<list>
<sec:filter-chain pattern="/**" filters="
securityContextPersistenceFilterWithASCTrue,
formLoginFilter,
exceptionTranslationFilter,
filterSecurityInterceptor" />
</list>
</constructor-arg>
</bean>
我真的需要申報所有這些過濾器只使用一個自定義過濾器?
我只想拉我的網址,並從屬性文件中的各個角色。從文檔部分"Adding in Your Own Filters"
編輯我的回答如下,以提供真正的解決辦法,即使它只是一個黑客... :) – zagyi 2013-03-01 15:48:28