Hello,
If I have all my login resources under the path /login, and I want all access to the site to be redirected to a login page /login/login.do, what's wrong with this configuration:
At present, I'm getting:Code:<security:http> <security:intercept-url pattern="/login/*" filters="none" /> <security:intercept-url pattern="/img/**" filters="none" /> <security:intercept-url pattern="/style/*" filters="none" /> <security:intercept-url pattern="/script/*" filters="none" /> <security:intercept-url pattern="/**" access="IS_AUTHENTICATED_ANONYMOUSLY" /> <security:form-login login-page="/login/login.do" login-processing-url="/login/loginProcess.do" default-target-url="/" authentication-failure-url="/login/login.do?login_error=1" /> <security:logout logout-url="/logout" logout-success-url="/login/login.do" /> </security:http>
WARNING: No mapping found for HTTP request with URI [/WebFlowExample/login/loginProcess.do] in DispatcherServlet with name 'mycart'
when the interceptors are in use - if I remove them, it works.
My understanding is the interceptors are configured to protect everything but where filters="none" is defined. The loginProcess.do URL is for form submission, so why the error when they are in place?
Thanks.


