Maven を使用して Spring Secure を正常に構成しましたが、フィルターが機能しません。春は誰でも入ることができます。ユーザープロファイルのサブページを無効にしたいです。ユーザーが署名されていない場合、フィルターはログイン ページにリダイレクトしません。
<beans:beans xmlns="http://www.springframework.org/schema/security"
xmlns:beans="http://www.springframework.org/schema/beans" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/security
http://www.springframework.org/schema/security/spring-security-3.0.3.xsd">
<http auto-config="true" use-expressions="true">
    <intercept-url pattern="/user-profile/**" access="hasRole('ROLE_USER')" />
</http>
<beans:bean id="userDetailsService" class="com.walladverts.auth.HibernateUserDetailsService">
</beans:bean>
<beans:bean id="daoAuthenticationProvider"
    class="org.springframework.security.authentication.dao.DaoAuthenticationProvider">
    <beans:property name="userDetailsService" ref="userDetailsService" />
</beans:bean>
<beans:bean id="authenticationManager"
    class="org.springframework.security.authentication.ProviderManager">
    <beans:property name="providers">
        <beans:list>
            <beans:ref local="daoAuthenticationProvider" />
        </beans:list>
    </beans:property>
</beans:bean>
<authentication-manager>
  <authentication-provider user-service-ref="userDetailsService">
    <password-encoder hash="sha"/>
  </authentication-provider>
</authentication-manager>