0
大家好羅爾斯我有一個春天的安全應用春季安全除了匿名
<http auto-config="true">
<intercept-url pattern="/**" />
<form-login authentication-failure-handler-ref="authenticationFailureHandler" authentication-success-handler-ref="authenticationSuccessHandler" login-page="${loginUrl}" authentication-failure-url="${loginUrl}" />
<logout logout-url="/logout" invalidate-session="true" success-handler-ref="logoutSuccessHandler" />
<anonymous enabled='false'/>
</http>
但匿名用戶沒有被攔截,我怎樣才能讓所有角色,但不ROLE_ANONYMOUS?