intercept-url with access=""
Hello
I have this configuration:
Code:
<bean id="filterSecurityInterceptor" class="org.springframework.security.intercept.web.FilterSecurityInterceptor">
<property name="authenticationManager" ref="authenticationManager"/>
<property name="accessDecisionManager" ref="accessDecisionManager"/>
<property name="objectDefinitionSource">
<security:filter-invocation-definition-source path-type="ant">
<security:intercept-url pattern="/xxx/system/login*" access=""/>
<security:intercept-url pattern="/xxx/system/**" access="ROLE_USER"/>
</security:filter-invocation-definition-source>
</property>
</bean>
The red line is ignored. What I want to achieve is that /xxx/system/login should be accessed by ANY user (even unauthentified) and all other /xxx/system/.. URLs should be accessed only by authentified users. Is there any solution?
Thanks in advance.
Martin.